aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-10-06 17:43:44 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-10-06 17:43:44 -0300
commit0fa9b16148d5db21875d770299d8bd983063ac7a (patch)
treef6258b917f6d5d89ff694e18c272828ff392de28
parente41fb9a60478d8598a93c235760621bf6468c2df (diff)
downloadlua-0fa9b16148d5db21875d770299d8bd983063ac7a.tar.gz
lua-0fa9b16148d5db21875d770299d8bd983063ac7a.tar.bz2
lua-0fa9b16148d5db21875d770299d8bd983063ac7a.zip
details
-rw-r--r--ldebug.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ldebug.c b/ldebug.c
index 24752fb3..aa7672c9 100644
--- a/ldebug.c
+++ b/ldebug.c
@@ -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 }