diff options
Diffstat (limited to 'ldebug.c')
-rw-r--r-- | ldebug.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldebug.c,v 2.77 2011/04/07 18:14:12 roberto Exp roberto $ | 2 | ** $Id: ldebug.c,v 2.78 2011/04/18 15:02:37 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 | */ |
@@ -385,6 +385,10 @@ static const char *getobjname (lua_State *L, CallInfo *ci, int reg, | |||
385 | pc += b; /* do the jump */ | 385 | pc += b; /* do the jump */ |
386 | break; | 386 | break; |
387 | } | 387 | } |
388 | case OP_TEST: { | ||
389 | if (reg == a) what = NULL; /* jumped code can change 'a' */ | ||
390 | break; | ||
391 | } | ||
388 | default: | 392 | default: |
389 | if (testAMode(op) && reg == a) what = NULL; | 393 | if (testAMode(op) && reg == a) what = NULL; |
390 | break; | 394 | break; |