aboutsummaryrefslogtreecommitdiffstats
path: root/vm_insnhelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm_insnhelper.h')
-rw-r--r--vm_insnhelper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_insnhelper.h b/vm_insnhelper.h
index e77ade15ee..8edeb28014 100644
--- a/vm_insnhelper.h
+++ b/vm_insnhelper.h
@@ -47,7 +47,7 @@ extern VALUE ruby_vm_const_missing_count;
#define VM_REG_EP (VM_REG_CFP->ep)
#define RESTORE_REGS() do { \
- VM_REG_CFP = th->cfp; \
+ VM_REG_CFP = th->ec.cfp; \
} while (0)
#define REG_A reg_a