diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-01 10:50:49 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-01 10:50:49 +0000 |
commit | a7f64368ae1cef2bc9c95372e5d90d99dd7b032f (patch) | |
tree | 457142e72e19d4724c6fbad6652e680d46bd4ee7 /insns.def | |
parent | eee3546b16c0d6bfba96f61b0d4f03fb9194d5ae (diff) | |
download | ruby-a7f64368ae1cef2bc9c95372e5d90d99dd7b032f.tar.gz |
revert r51991
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'insns.def')
-rw-r--r-- | insns.def | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -941,10 +941,10 @@ send (VALUE val) // inc += - (int)(ci->orig_argc + ((ci->flag & VM_CALL_ARGS_BLOCKARG) ? 1 : 0)); { struct rb_calling_info calling; - VALUE mark = vm_caller_setup_arg_block(th, reg_cfp, &calling, ci, blockiseq, FALSE); + + vm_caller_setup_arg_block(th, reg_cfp, &calling, ci, blockiseq, FALSE); vm_search_method(ci, cc, calling.recv = TOPN(calling.argc = ci->orig_argc)); CALL_METHOD(&calling, ci, cc); - RB_GC_GUARD(mark); } DEFINE_INSN @@ -989,15 +989,13 @@ invokesuper (...) (VALUE val) // inc += - (int)(ci->orig_argc + ((ci->flag & VM_CALL_ARGS_BLOCKARG) ? 1 : 0)); { - VALUE mark; struct rb_calling_info calling; calling.argc = ci->orig_argc; - mark = vm_caller_setup_arg_block(th, reg_cfp, &calling, ci, blockiseq, TRUE); + vm_caller_setup_arg_block(th, reg_cfp, &calling, ci, blockiseq, TRUE); calling.recv = GET_SELF(); vm_search_super_method(th, GET_CFP(), &calling, ci, cc); CALL_METHOD(&calling, ci, cc); - RB_GC_GUARD(mark); } /** |