no need to define 'luaP_opnames' in regular builds
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
** $Id: lopcodes.c,v 1.80 2018/03/07 15:55:38 roberto Exp roberto $
|
||||
** $Id: lopcodes.c,v 1.81 2018/04/04 14:23:41 roberto Exp roberto $
|
||||
** Opcodes for Lua virtual machine
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
@@ -17,6 +17,8 @@
|
||||
|
||||
/* ORDER OP */
|
||||
|
||||
#if defined(LUAI_DEFOPNAMES)
|
||||
|
||||
LUAI_DDEF const char *const luaP_opnames[NUM_OPCODES+1] = {
|
||||
"MOVE",
|
||||
"LOADI",
|
||||
@@ -98,6 +100,8 @@ LUAI_DDEF const char *const luaP_opnames[NUM_OPCODES+1] = {
|
||||
NULL
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
LUAI_DDEF const lu_byte luaP_opmodes[NUM_OPCODES] = {
|
||||
/* OT IT T A mode opcode */
|
||||
|
||||
Reference in New Issue
Block a user