diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-10-06 17:43:44 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-10-06 17:43:44 -0300 |
commit | 0fa9b16148d5db21875d770299d8bd983063ac7a (patch) | |
tree | f6258b917f6d5d89ff694e18c272828ff392de28 | |
parent | e41fb9a60478d8598a93c235760621bf6468c2df (diff) | |
download | lua-0fa9b16148d5db21875d770299d8bd983063ac7a.tar.gz lua-0fa9b16148d5db21875d770299d8bd983063ac7a.tar.bz2 lua-0fa9b16148d5db21875d770299d8bd983063ac7a.zip |
details
-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 | } |