diff options
Diffstat (limited to 'lopcodes.h')
-rw-r--r-- | lopcodes.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lopcodes.h,v 1.105 2003/05/14 21:09:53 roberto Exp roberto $ | 2 | ** $Id: lopcodes.h,v 1.106 2003/05/15 19:46:03 roberto Exp roberto $ |
3 | ** Opcodes for Lua virtual machine | 3 | ** Opcodes for Lua virtual machine |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -50,9 +50,9 @@ enum OpMode {iABC, iABx, iAsBx}; /* basic instruction format */ | |||
50 | /* | 50 | /* |
51 | ** limits for opcode arguments. | 51 | ** limits for opcode arguments. |
52 | ** we use (signed) int to manipulate most arguments, | 52 | ** we use (signed) int to manipulate most arguments, |
53 | ** so they must fit in BITS_INT-1 bits (-1 for sign) | 53 | ** so they must fit in LUA_BITSINT-1 bits (-1 for sign) |
54 | */ | 54 | */ |
55 | #if SIZE_Bx < BITS_INT-1 | 55 | #if SIZE_Bx < LUA_BITSINT-1 |
56 | #define MAXARG_Bx ((1<<SIZE_Bx)-1) | 56 | #define MAXARG_Bx ((1<<SIZE_Bx)-1) |
57 | #define MAXARG_sBx (MAXARG_Bx>>1) /* `sBx' is signed */ | 57 | #define MAXARG_sBx (MAXARG_Bx>>1) /* `sBx' is signed */ |
58 | #else | 58 | #else |