ruby-changes:10107
From: nobu <ko1@a...>
Date: Mon, 19 Jan 2009 04:05:53 +0900 (JST)
Subject: [ruby-changes:10107] Ruby:r21650 (trunk): * iseq.c (rb_iseq_load): renamed from ruby_iseq_load, since it is
nobu 2009-01-19 04:05:15 +0900 (Mon, 19 Jan 2009) New Revision: 21650 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=21650 Log: * iseq.c (rb_iseq_load): renamed from ruby_iseq_load, since it is for C extensions or the ruby core. [ruby-core:21407] Index: compile.c =================================================================== --- compile.c (revision 21649) +++ compile.c (working copy) @@ -5078,5 +5078,5 @@ iseq_build_exception(rb_iseq_t *iseq, st } else { - eiseqval = ruby_iseq_load(ptr[1], iseq->self, Qnil); + eiseqval = rb_iseq_load(ptr[1], iseq->self, Qnil); } @@ -5162,5 +5162,5 @@ iseq_build_body(rb_iseq_t *iseq, LINK_AN if (op != Qnil) { if (TYPE(op) == T_ARRAY) { - argv[j] = ruby_iseq_load(op, iseq->self, Qnil); + argv[j] = rb_iseq_load(op, iseq->self, Qnil); } else if (CLASS_OF(op) == rb_cISeq) { Index: iseq.c =================================================================== --- iseq.c (revision 21649) +++ iseq.c (working copy) @@ -448,5 +448,5 @@ iseq_s_load(int argc, VALUE *argv, VALUE VALUE -ruby_iseq_load(VALUE data, VALUE parent, VALUE opt) +rb_iseq_load(VALUE data, VALUE parent, VALUE opt) { return iseq_load(rb_cISeq, data, parent, opt); Index: iseq.h =================================================================== --- iseq.h (revision 21649) +++ iseq.h (working copy) @@ -21,5 +21,5 @@ VALUE ruby_iseq_build_from_ary(rb_iseq_t /* iseq.c */ -VALUE ruby_iseq_load(VALUE data, VALUE parent, VALUE opt); +VALUE rb_iseq_load(VALUE data, VALUE parent, VALUE opt); struct st_table *ruby_insn_make_insn_table(void); Modified files: trunk/ChangeLog trunk/compile.c trunk/iseq.c trunk/iseq.h Index: ChangeLog =================================================================== --- ChangeLog (revision 21649) +++ ChangeLog (revision 21650) @@ -1,3 +1,8 @@ +Mon Jan 19 04:06:10 2009 Nobuyoshi Nakada <nobu@r...> + + * iseq.c (rb_iseq_load): renamed from ruby_iseq_load, since it is + for C extensions or the ruby core. [ruby-core:21407] + Mon Jan 19 03:06:22 2009 NARUSE, Yui <naruse@r...> * transcode.c (str_transcode0): fix: :xml option doesn't Index: iseq.c =================================================================== --- iseq.c (revision 21649) +++ iseq.c (revision 21650) @@ -447,7 +447,7 @@ } VALUE -ruby_iseq_load(VALUE data, VALUE parent, VALUE opt) +rb_iseq_load(VALUE data, VALUE parent, VALUE opt) { return iseq_load(rb_cISeq, data, parent, opt); } Index: iseq.h =================================================================== --- iseq.h (revision 21649) +++ iseq.h (revision 21650) @@ -20,7 +20,7 @@ VALUE exception, VALUE body); /* iseq.c */ -VALUE ruby_iseq_load(VALUE data, VALUE parent, VALUE opt); +VALUE rb_iseq_load(VALUE data, VALUE parent, VALUE opt); struct st_table *ruby_insn_make_insn_table(void); #define ISEQ_TYPE_TOP INT2FIX(1) Index: compile.c =================================================================== --- compile.c (revision 21649) +++ compile.c (revision 21650) @@ -5077,7 +5077,7 @@ eiseqval = 0; } else { - eiseqval = ruby_iseq_load(ptr[1], iseq->self, Qnil); + eiseqval = rb_iseq_load(ptr[1], iseq->self, Qnil); } lstart = register_label(iseq, labels_table, ptr[2]); @@ -5161,7 +5161,7 @@ { if (op != Qnil) { if (TYPE(op) == T_ARRAY) { - argv[j] = ruby_iseq_load(op, iseq->self, Qnil); + argv[j] = rb_iseq_load(op, iseq->self, Qnil); } else if (CLASS_OF(op) == rb_cISeq) { argv[j] = op; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/