|
@@ -1,5 +1,5 @@
|
|
/*
|
|
/*
|
|
-** $Id: ldebug.c,v 2.38 2008/04/02 16:16:06 roberto Exp roberto $
|
|
|
|
|
|
+** $Id: ldebug.c,v 2.39 2008/04/02 19:14:16 roberto Exp roberto $
|
|
** Debug Interface
|
|
** Debug Interface
|
|
** See Copyright Notice in lua.h
|
|
** See Copyright Notice in lua.h
|
|
*/
|
|
*/
|
|
@@ -272,8 +272,6 @@ LUA_API int lua_getinfo (lua_State *L, const char *what, lua_Debug *ar) {
|
|
|
|
|
|
#define check(x) if (!(x)) return 0;
|
|
#define check(x) if (!(x)) return 0;
|
|
|
|
|
|
-#define checkjump(pt,pc) check(0 <= pc && pc < pt->sizecode)
|
|
|
|
-
|
|
|
|
#define checkreg(pt,reg) check((reg) < (pt)->maxstacksize)
|
|
#define checkreg(pt,reg) check((reg) < (pt)->maxstacksize)
|
|
|
|
|
|
|
|
|
|
@@ -459,7 +457,6 @@ static Instruction symbexec (const Proto *pt, int lastpc, int reg) {
|
|
}
|
|
}
|
|
|
|
|
|
#undef check
|
|
#undef check
|
|
-#undef checkjump
|
|
|
|
#undef checkreg
|
|
#undef checkreg
|
|
|
|
|
|
/* }====================================================== */
|
|
/* }====================================================== */
|