diff options
Diffstat (limited to 'ldebug.c')
-rw-r--r-- | ldebug.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldebug.c,v 1.65 2001/02/20 18:15:33 roberto Exp roberto $ | 2 | ** $Id: ldebug.c,v 1.66 2001/02/20 18:28:11 roberto Exp roberto $ |
3 | ** Debug Interface | 3 | ** Debug Interface |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -351,7 +351,7 @@ static int checkjump_aux (const Proto *pt, lu_byte *sl, int top, int pc) { | |||
351 | check(0 <= pc && pc < pt->sizecode); | 351 | check(0 <= pc && pc < pt->sizecode); |
352 | if (sl == NULL) return 1; /* not full checking */ | 352 | if (sl == NULL) return 1; /* not full checking */ |
353 | if (sl[pc] == SL_EMPTY) | 353 | if (sl[pc] == SL_EMPTY) |
354 | sl[pc] = top; | 354 | sl[pc] = (lu_byte)top; |
355 | else | 355 | else |
356 | check(sl[pc] == top); | 356 | check(sl[pc] == top); |
357 | return 1; | 357 | return 1; |
@@ -375,7 +375,7 @@ static Instruction luaG_symbexec (lua_State *L, const Proto *pt, | |||
375 | pc = 0; | 375 | pc = 0; |
376 | if (pt->is_vararg) /* varargs? */ | 376 | if (pt->is_vararg) /* varargs? */ |
377 | top++; /* `arg' */ | 377 | top++; /* `arg' */ |
378 | if (sl) sl[0] = top; | 378 | if (sl) sl[0] = (lu_byte)top; |
379 | while (pc < lastpc) { | 379 | while (pc < lastpc) { |
380 | const Instruction i = pt->code[pc++]; | 380 | const Instruction i = pt->code[pc++]; |
381 | OpCode op = GET_OPCODE(i); | 381 | OpCode op = GET_OPCODE(i); |