no more LUA_OPNAMES; it is simpler to "waste" 400 bytes

This commit is contained in:
Roberto Ierusalimschy 2004-07-16 10:15:32 -03:00
parent 942496d767
commit 9609236fbb

View File

@ -1,5 +1,5 @@
/*
** $Id: lopcodes.c,v 1.26 2004/04/30 20:13:38 roberto Exp roberto $
** $Id: lopcodes.c,v 1.27 2004/05/31 18:51:50 roberto Exp roberto $
** See Copyright Notice in lua.h
*/
@ -15,8 +15,6 @@
/* ORDER OP */
#ifdef LUA_OPNAMES
const char *const luaP_opnames[NUM_OPCODES] = {
"MOVE",
"LOADK",
@ -57,7 +55,6 @@ const char *const luaP_opnames[NUM_OPCODES] = {
"VARARG"
};
#endif
#define opmode(t,a,b,c,m) (((t)<<7) | ((a)<<6) | ((b)<<4) | ((c)<<2) | (m))