зеркало из https://github.com/github/ruby.git
* compile.c (iseq_build_body): remove side effect from
VM::InstructionSequence.load. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
74ae098a5d
Коммит
8742de6f10
|
@ -1,3 +1,8 @@
|
|||
Sun May 25 17:52:25 2008 Yusuke Endoh <mame@tsg.ne.jp>
|
||||
|
||||
* compile.c (iseq_build_body): remove side effect from
|
||||
VM::InstructionSequence.load.
|
||||
|
||||
Sun May 25 04:30:45 2008 Yusuke Endoh <mame@tsg.ne.jp>
|
||||
|
||||
* test/ruby/test_modules.rb (remove_json_mixins): change judgment
|
||||
|
|
|
@ -4955,6 +4955,7 @@ iseq_build_body(rb_iseq_t *iseq, LINK_ANCHOR *anchor,
|
|||
{
|
||||
int i;
|
||||
op = rb_convert_type(op, T_ARRAY, "Array", "to_ary");
|
||||
op = rb_ary_dup(op);
|
||||
for (i=0; i<RARRAY_LEN(op); i+=2) {
|
||||
VALUE sym = rb_ary_entry(op, i+1);
|
||||
LABEL *label =
|
||||
|
|
Загрузка…
Ссылка в новой задаче