File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11/*
2- ** $Id: lopcodes.c,v 1.80 2018/03/07 15:55:38 roberto Exp roberto $
2+ ** $Id: lopcodes.c,v 1.81 2018/04/04 14:23:41 roberto Exp roberto $
33** Opcodes for Lua virtual machine
44** See Copyright Notice in lua.h
55*/
1717
1818/* ORDER OP */
1919
20+ #if defined(LUAI_DEFOPNAMES )
21+
2022LUAI_DDEF const char * const luaP_opnames [NUM_OPCODES + 1 ] = {
2123 "MOVE" ,
2224 "LOADI" ,
@@ -98,6 +100,8 @@ LUAI_DDEF const char *const luaP_opnames[NUM_OPCODES+1] = {
98100 NULL
99101};
100102
103+ #endif
104+
101105
102106LUAI_DDEF const lu_byte luaP_opmodes [NUM_OPCODES ] = {
103107/* OT IT T A mode opcode */
Original file line number Diff line number Diff line change 11/*
2- ** $Id: ltests.h,v 2.56 2018/02/27 18:47:32 roberto Exp roberto $
2+ ** $Id: ltests.h,v 2.57 2018/04/11 16:49:36 roberto Exp roberto $
33** Internal Header for Debugging of the Lua Implementation
44** See Copyright Notice in lua.h
55*/
2424#define lua_assert (c ) assert(c)
2525
2626
27+ /* include opcode names */
28+ #define LUAI_DEFOPNAMES
29+
30+
2731/* compiled with -O0, Lua uses a lot of C stack space... */
2832#undef LUAI_MAXCCALLS
2933#define LUAI_MAXCCALLS 200
You can’t perform that action at this time.
0 commit comments