aboutsummaryrefslogtreecommitdiffstats
path: root/insns.def
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-26 23:33:59 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-26 23:33:59 +0000
commitc46f317b7143a1efd47a97a82984a13ff47fc6d3 (patch)
tree90b5f79c6d755ca5137c9097df63ad2bdfd3ece1 /insns.def
parent81e0926e65e929e77e37db6e737e61154400edbe (diff)
downloadruby-c46f317b7143a1efd47a97a82984a13ff47fc6d3.tar.gz
rb_vm_bh_to_procval() accepts `ec` instead of `th`.
* vm_insnhelper.c (rb_vm_bh_to_procval): accepts `ec` instead of `th`. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'insns.def')
-rw-r--r--insns.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/insns.def b/insns.def
index c4dbebce14..6883e1df79 100644
--- a/insns.def
+++ b/insns.def
@@ -95,7 +95,7 @@ getblockparam
VM_ASSERT(VM_ENV_LOCAL_P(ep));
if (!VM_ENV_FLAGS(ep, VM_FRAME_FLAG_MODIFIED_BLOCK_PARAM)) {
- val = rb_vm_bh_to_procval(th, VM_ENV_BLOCK_HANDLER(ep));
+ val = rb_vm_bh_to_procval(th->ec, VM_ENV_BLOCK_HANDLER(ep));
vm_env_write(ep, -(int)idx, val);
VM_ENV_FLAGS_SET(ep, VM_FRAME_FLAG_MODIFIED_BLOCK_PARAM);
}