mirror of
https://github.com/lua/lua
synced 2024-12-01 17:07:03 +03:00
use test mode to test the interpreter without jump tables
This commit is contained in:
parent
762baf0548
commit
f9c3d6fdbe
6
ltests.h
6
ltests.h
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
** $Id: ltests.h,v 2.55 2017/12/18 13:01:49 roberto Exp roberto $
|
** $Id: ltests.h,v 2.56 2018/02/27 18:47:32 roberto Exp roberto $
|
||||||
** Internal Header for Debugging of the Lua Implementation
|
** Internal Header for Debugging of the Lua Implementation
|
||||||
** See Copyright Notice in lua.h
|
** See Copyright Notice in lua.h
|
||||||
*/
|
*/
|
||||||
@ -41,6 +41,10 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
/* get a chance to test code without jump tables */
|
||||||
|
#define LUA_USE_JUMPTABLE 0
|
||||||
|
|
||||||
|
|
||||||
/* memory-allocator control variables */
|
/* memory-allocator control variables */
|
||||||
typedef struct Memcontrol {
|
typedef struct Memcontrol {
|
||||||
unsigned long numblocks;
|
unsigned long numblocks;
|
||||||
|
Loading…
Reference in New Issue
Block a user