diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-04-11 13:49:36 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-04-11 13:49:36 -0300 |
commit | f9c3d6fdbea21e83cfc50bcaa617ff59a3d36434 (patch) | |
tree | a8ae8117c7ffa97199e57196dd1adce71871d380 /ltests.h | |
parent | 762baf05487a6574e6b9e55783e1a439b6fc9af3 (diff) | |
download | lua-f9c3d6fdbea21e83cfc50bcaa617ff59a3d36434.tar.gz lua-f9c3d6fdbea21e83cfc50bcaa617ff59a3d36434.tar.bz2 lua-f9c3d6fdbea21e83cfc50bcaa617ff59a3d36434.zip |
use test mode to test the interpreter without jump tables
Diffstat (limited to 'ltests.h')
-rw-r--r-- | ltests.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltests.h,v 2.55 2017/12/18 13:01:49 roberto Exp roberto $ | 2 | ** $Id: ltests.h,v 2.56 2018/02/27 18:47:32 roberto Exp roberto $ |
3 | ** Internal Header for Debugging of the Lua Implementation | 3 | ** Internal Header for Debugging of the Lua Implementation |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -41,6 +41,10 @@ | |||
41 | #endif | 41 | #endif |
42 | 42 | ||
43 | 43 | ||
44 | /* get a chance to test code without jump tables */ | ||
45 | #define LUA_USE_JUMPTABLE 0 | ||
46 | |||
47 | |||
44 | /* memory-allocator control variables */ | 48 | /* memory-allocator control variables */ |
45 | typedef struct Memcontrol { | 49 | typedef struct Memcontrol { |
46 | unsigned long numblocks; | 50 | unsigned long numblocks; |