diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | compile.c | 2 |
2 files changed, 8 insertions, 0 deletions
@@ -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 @@ -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); } } |