lua

A copy of the Lua development repository
Log | Files | Refs | README

commit f9c3d6fdbea21e83cfc50bcaa617ff59a3d36434
parent 762baf05487a6574e6b9e55783e1a439b6fc9af3
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Wed, 11 Apr 2018 13:49:09 -0300

use test mode to test the interpreter without jump tables

Diffstat:
Mltests.h | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/ltests.h b/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 ** See Copyright Notice in lua.h */ @@ -41,6 +41,10 @@ #endif +/* get a chance to test code without jump tables */ +#define LUA_USE_JUMPTABLE 0 + + /* memory-allocator control variables */ typedef struct Memcontrol { unsigned long numblocks;