aboutsummaryrefslogtreecommitdiff
path: root/ltests.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-04-11 13:49:36 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-04-11 13:49:36 -0300
commitf9c3d6fdbea21e83cfc50bcaa617ff59a3d36434 (patch)
treea8ae8117c7ffa97199e57196dd1adce71871d380 /ltests.h
parent762baf05487a6574e6b9e55783e1a439b6fc9af3 (diff)
downloadlua-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.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/ltests.h b/ltests.h
index 7019f716..e718e764 100644
--- a/ltests.h
+++ b/ltests.h
@@ -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 */
45typedef struct Memcontrol { 49typedef struct Memcontrol {
46 unsigned long numblocks; 50 unsigned long numblocks;