diff options
-rw-r--r-- | ldebug.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldebug.c,v 2.25 2005/07/11 13:59:03 roberto Exp roberto $ | 2 | ** $Id: ldebug.c,v 2.26 2005/08/04 13:37:38 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 | */ |
@@ -321,7 +321,7 @@ static Instruction symbexec (const Proto *pt, int lastpc, int reg) { | |||
321 | last = pt->sizecode-1; /* points to final return (a `neutral' instruction) */ | 321 | last = pt->sizecode-1; /* points to final return (a `neutral' instruction) */ |
322 | check(precheck(pt)); | 322 | check(precheck(pt)); |
323 | for (pc = 0; pc < lastpc; pc++) { | 323 | for (pc = 0; pc < lastpc; pc++) { |
324 | const Instruction i = pt->code[pc]; | 324 | Instruction i = pt->code[pc]; |
325 | OpCode op = GET_OPCODE(i); | 325 | OpCode op = GET_OPCODE(i); |
326 | int a = GETARG_A(i); | 326 | int a = GETARG_A(i); |
327 | int b = 0; | 327 | int b = 0; |
@@ -348,7 +348,7 @@ static Instruction symbexec (const Proto *pt, int lastpc, int reg) { | |||
348 | check(0 <= dest && dest < pt->sizecode); | 348 | check(0 <= dest && dest < pt->sizecode); |
349 | if (dest > 0) { | 349 | if (dest > 0) { |
350 | /* cannot jump to a setlist count */ | 350 | /* cannot jump to a setlist count */ |
351 | const Instruction d = pt->code[dest-1]; | 351 | Instruction d = pt->code[dest-1]; |
352 | check(!(GET_OPCODE(d) == OP_SETLIST && GETARG_C(d) == 0)); | 352 | check(!(GET_OPCODE(d) == OP_SETLIST && GETARG_C(d) == 0)); |
353 | } | 353 | } |
354 | } | 354 | } |