1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* compile.c (iseq_specialized_instruction):

change condition of using `opt_send_simple'.
  More method invocations can be simple.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2012-12-03 11:33:09 +00:00
parent 41d77571ff
commit 5c58280773
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,9 @@
Mon Dec 3 20:28:02 2012 Koichi Sasada <ko1@atdot.net>
* compile.c (iseq_specialized_instruction):
change condition of using `opt_send_simple'.
More method invocations can be simple.
Mon Dec 3 20:03:38 2012 Koichi Sasada <ko1@atdot.net>
* test/ruby/test_objectspace.rb: skip RuntimeError

View file

@ -1940,6 +1940,8 @@ iseq_specialized_instruction(rb_iseq_t *iseq, INSN *iobj)
}
break;
}
}
if (ci->flag & VM_CALL_ARGS_SKIP_SETUP) {
iobj->insn_id = BIN(opt_send_simple);
}
}