Browse Source

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

Roberto Ierusalimschy 21 years ago
parent
commit
9609236fbb
1 changed files with 1 additions and 4 deletions
  1. 1 4
      lopcodes.c

+ 1 - 4
lopcodes.c

@@ -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
 ** See Copyright Notice in lua.h
 */
 */
 
 
@@ -15,8 +15,6 @@
 
 
 /* ORDER OP */
 /* ORDER OP */
 
 
-#ifdef LUA_OPNAMES
-
 const char *const luaP_opnames[NUM_OPCODES] = {
 const char *const luaP_opnames[NUM_OPCODES] = {
   "MOVE",
   "MOVE",
   "LOADK",
   "LOADK",
@@ -57,7 +55,6 @@ const char *const luaP_opnames[NUM_OPCODES] = {
   "VARARG"
   "VARARG"
 };
 };
 
 
-#endif
 
 
 #define opmode(t,a,b,c,m) (((t)<<7) | ((a)<<6) | ((b)<<4) | ((c)<<2) | (m))
 #define opmode(t,a,b,c,m) (((t)<<7) | ((a)<<6) | ((b)<<4) | ((c)<<2) | (m))