summaryrefslogtreecommitdiff
path: root/insns.def
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-27 05:33:33 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-27 05:33:33 +0000
commitf37049ec054763168691c9c6bd70c75f00cbf89e (patch)
tree7cb116e9bf7abd3f53190a8ccb7e91c30f244548 /insns.def
parent7267a79a7f702f785e88952bafe1eeb5176460b8 (diff)
`ec` -> `th`
* vm_exec.h (VM_SP_CNT): accepts `ec` instead of `th`. * vm_insnhelper.c (vm_stack_consistency_error): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60474 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 3044ccd71f..94d28be37c 100644
--- a/insns.def
+++ b/insns.def
@@ -990,7 +990,7 @@ leave
if (OPT_CHECKED_RUN) {
const VALUE *const bp = vm_base_ptr(reg_cfp);
if (reg_cfp->sp != bp) {
- vm_stack_consistency_error(th, reg_cfp, bp);
+ vm_stack_consistency_error(th->ec, reg_cfp, bp);
}
}