diff options
Diffstat (limited to 'vm_insnhelper.h')
-rw-r--r-- | vm_insnhelper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_insnhelper.h b/vm_insnhelper.h index 6b1e6b45f6..e77ade15ee 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->stack) +#define GET_SP_COUNT() (VM_REG_SP - th->ec.stack) /* instruction sequence C struct */ #define GET_ISEQ() (GET_CFP()->iseq) |