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

* insns.def (invokeblock): calling->recv is not used.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2018-01-05 07:25:55 +00:00
parent 4251ee5b40
commit 0268c85e85

View file

@ -949,7 +949,7 @@ invokeblock
struct rb_calling_info calling; struct rb_calling_info calling;
calling.argc = ci->orig_argc; calling.argc = ci->orig_argc;
calling.block_handler = VM_BLOCK_HANDLER_NONE; calling.block_handler = VM_BLOCK_HANDLER_NONE;
calling.recv = GET_SELF(); calling.recv = Qundef; /* should not be used */
val = vm_invoke_block(ec, GET_CFP(), &calling, ci); val = vm_invoke_block(ec, GET_CFP(), &calling, ci);
if (val == Qundef) { if (val == Qundef) {