diff options
Diffstat (limited to 'ldebug.c')
-rw-r--r-- | ldebug.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldebug.c,v 1.152 2003/05/13 20:15:59 roberto Exp roberto $ | 2 | ** $Id: ldebug.c,v 1.153 2003/05/14 12:09:12 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 | */ |
@@ -320,6 +320,7 @@ static Instruction luaG_symbexec (const Proto *pt, int lastpc, int reg) { | |||
320 | int a = GETARG_A(i); | 320 | int a = GETARG_A(i); |
321 | int b = 0; | 321 | int b = 0; |
322 | int c = 0; | 322 | int c = 0; |
323 | check(op < NUM_OPCODES); | ||
323 | checkreg(pt, a); | 324 | checkreg(pt, a); |
324 | switch (getOpMode(op)) { | 325 | switch (getOpMode(op)) { |
325 | case iABC: { | 326 | case iABC: { |