diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-06-08 09:29:27 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-06-08 09:29:27 -0300 |
| commit | 0267168675cb21f19e685749e1737dfd2884bdf2 (patch) | |
| tree | f547cfbf519153e4ec37b08fe104eb874f78132f /ldebug.c | |
| parent | ba11831d357889ee090ce92ff508957c6c023c42 (diff) | |
| download | lua-0267168675cb21f19e685749e1737dfd2884bdf2.tar.gz lua-0267168675cb21f19e685749e1737dfd2884bdf2.tar.bz2 lua-0267168675cb21f19e685749e1737dfd2884bdf2.zip | |
details.
Diffstat (limited to 'ldebug.c')
| -rw-r--r-- | ldebug.c | 12 |
1 files changed, 3 insertions, 9 deletions
| @@ -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 */ |
