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 8edeb28014..33720cfb21 100644
--- a/vm_insnhelper.h
+++ b/vm_insnhelper.h
@@ -95,7 +95,7 @@ enum vm_regan_acttype {
#define SET_SV(x) (*GET_SP() = (x))
/* set current stack value as x */
-#define GET_SP_COUNT() (VM_REG_SP - th->ec.stack)
+#define GET_SP_COUNT() (VM_REG_SP - th->ec.vm_stack)
/* instruction sequence C struct */
#define GET_ISEQ() (GET_CFP()->iseq)