aboutsummaryrefslogtreecommitdiff
path: root/ldebug.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldebug.c')
-rw-r--r--ldebug.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/ldebug.c b/ldebug.c
index dddaa98e..108a89c7 100644
--- a/ldebug.c
+++ b/ldebug.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldebug.c,v 1.78 2001/06/06 17:50:36 roberto Exp roberto $ 2** $Id: ldebug.c,v 1.79 2001/06/07 14:44:51 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*/
@@ -409,12 +409,6 @@ static Instruction luaG_symbexec (const Proto *pt, int lastpc, int reg) {
409 pc += b; /* do the jump */ 409 pc += b; /* do the jump */
410 break; 410 break;
411 } 411 }
412 case OP_TESTT:
413 case OP_TESTF: {
414 if (a != NO_REG)
415 checkreg(pt, a);
416 break;
417 }
418 case OP_NILJMP: { 412 case OP_NILJMP: {
419 check(pc+2 < pt->sizecode); /* check its jump */ 413 check(pc+2 < pt->sizecode); /* check its jump */
420 break; 414 break;
@@ -605,8 +599,8 @@ const lu_byte luaG_opmodes[] = {
605 opmode(1,0,1,1, 0,0,iABC), /* OP_TESTLE */ 599 opmode(1,0,1,1, 0,0,iABC), /* OP_TESTLE */
606 opmode(1,0,1,1, 0,0,iABC), /* OP_TESTGT */ 600 opmode(1,0,1,1, 0,0,iABC), /* OP_TESTGT */
607 opmode(1,0,1,1, 0,0,iABC), /* OP_TESTGE */ 601 opmode(1,0,1,1, 0,0,iABC), /* OP_TESTGE */
608 opmode(1,0,1,0, 1,0,iABC), /* OP_TESTT */ 602 opmode(1,1,1,0, 1,0,iABC), /* OP_TESTT */
609 opmode(1,0,1,0, 1,0,iABC), /* OP_TESTF */ 603 opmode(1,1,1,0, 1,0,iABC), /* OP_TESTF */
610 opmode(0,1,0,0, 1,0,iAsBc), /* OP_NILJMP */ 604 opmode(0,1,0,0, 1,0,iAsBc), /* OP_NILJMP */
611 opmode(0,1,0,0, 0,0,iABC), /* OP_CALL */ 605 opmode(0,1,0,0, 0,0,iABC), /* OP_CALL */
612 opmode(0,1,0,0, 0,0,iABC), /* OP_RETURN */ 606 opmode(0,1,0,0, 0,0,iABC), /* OP_RETURN */