summaryrefslogtreecommitdiff
path: root/insns.def
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-27 01:35:12 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-27 01:35:12 +0000
commit2f4e6b6c4f49533cc905420be3e1810517078ac1 (patch)
treedaf6931c5bffb46d11f8e0cf81c1a9d74ce98208 /insns.def
parent84e6a3d31c08d2302f8592ee07cc3bacb1f47d9d (diff)
vm_throw* accept `ec` instead of `th`.
* vm_insnhelper.c (vm_throw*): accept `ec` instead of `th`. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60467 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 9350c2385c..db7c9c0af5 100644
--- a/insns.def
+++ b/insns.def
@@ -1025,7 +1025,7 @@ throw
(VALUE val)
{
RUBY_VM_CHECK_INTS(th);
- val = vm_throw(th, GET_CFP(), throw_state, throwobj);
+ val = vm_throw(th->ec, GET_CFP(), throw_state, throwobj);
THROW_EXCEPTION(val);
/* unreachable */
}