aboutsummaryrefslogtreecommitdiff
path: root/lvm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lvm.c')
-rw-r--r--lvm.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lvm.c b/lvm.c
index c9729bcc..16e01d68 100644
--- a/lvm.c
+++ b/lvm.c
@@ -1156,8 +1156,10 @@ void luaV_execute (lua_State *L, CallInfo *ci) {
1156 Instruction i; /* instruction being executed */ 1156 Instruction i; /* instruction being executed */
1157 StkId ra; /* instruction's A register */ 1157 StkId ra; /* instruction's A register */
1158 vmfetch(); 1158 vmfetch();
1159// low-level line tracing for debugging Lua 1159 #if 0
1160// printf("line: %d\n", luaG_getfuncline(cl->p, pcRel(pc, cl->p))); 1160 /* low-level line tracing for debugging Lua */
1161 printf("line: %d\n", luaG_getfuncline(cl->p, pcRel(pc, cl->p)));
1162 #endif
1161 lua_assert(base == ci->func + 1); 1163 lua_assert(base == ci->func + 1);
1162 lua_assert(base <= L->top && L->top < L->stack_last); 1164 lua_assert(base <= L->top && L->top < L->stack_last);
1163 /* invalidate top for instructions not expecting it */ 1165 /* invalidate top for instructions not expecting it */