diff options
-rw-r--r-- | ldebug.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldebug.c,v 2.38 2008/04/02 16:16:06 roberto Exp roberto $ | 2 | ** $Id: ldebug.c,v 2.39 2008/04/02 19:14:16 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 | */ |
@@ -272,8 +272,6 @@ LUA_API int lua_getinfo (lua_State *L, const char *what, lua_Debug *ar) { | |||
272 | 272 | ||
273 | #define check(x) if (!(x)) return 0; | 273 | #define check(x) if (!(x)) return 0; |
274 | 274 | ||
275 | #define checkjump(pt,pc) check(0 <= pc && pc < pt->sizecode) | ||
276 | |||
277 | #define checkreg(pt,reg) check((reg) < (pt)->maxstacksize) | 275 | #define checkreg(pt,reg) check((reg) < (pt)->maxstacksize) |
278 | 276 | ||
279 | 277 | ||
@@ -459,7 +457,6 @@ static Instruction symbexec (const Proto *pt, int lastpc, int reg) { | |||
459 | } | 457 | } |
460 | 458 | ||
461 | #undef check | 459 | #undef check |
462 | #undef checkjump | ||
463 | #undef checkreg | 460 | #undef checkreg |
464 | 461 | ||
465 | /* }====================================================== */ | 462 | /* }====================================================== */ |