aboutsummaryrefslogtreecommitdiff
path: root/lvm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lvm.c')
-rw-r--r--lvm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lvm.c b/lvm.c
index 51b22d81..72d3e695 100644
--- a/lvm.c
+++ b/lvm.c
@@ -1151,7 +1151,7 @@ void luaV_execute (lua_State *L, CallInfo *ci) {
1151 StkId ra; /* instruction's A register */ 1151 StkId ra; /* instruction's A register */
1152 vmfetch(); 1152 vmfetch();
1153 lua_assert(base == ci->func + 1); 1153 lua_assert(base == ci->func + 1);
1154 lua_assert(base <= L->top && L->top < L->stack + L->stacksize); 1154 lua_assert(base <= L->top && L->top < L->stack_last);
1155 /* invalidate top for instructions not expecting it */ 1155 /* invalidate top for instructions not expecting it */
1156 lua_assert(isIT(i) || (cast_void(L->top = base), 1)); 1156 lua_assert(isIT(i) || (cast_void(L->top = base), 1));
1157 vmdispatch (GET_OPCODE(i)) { 1157 vmdispatch (GET_OPCODE(i)) {