aboutsummaryrefslogtreecommitdiff
path: root/lopcodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'lopcodes.h')
-rw-r--r--lopcodes.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lopcodes.h b/lopcodes.h
index c8bd6673..0754c1bc 100644
--- a/lopcodes.h
+++ b/lopcodes.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lopcodes.h,v 1.114 2004/12/02 12:59:10 roberto Exp roberto $ 2** $Id: lopcodes.h,v 1.115 2005/03/08 18:00:16 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*/
@@ -51,9 +51,9 @@ enum OpMode {iABC, iABx, iAsBx}; /* basic instruction format */
51/* 51/*
52** limits for opcode arguments. 52** limits for opcode arguments.
53** we use (signed) int to manipulate most arguments, 53** we use (signed) int to manipulate most arguments,
54** so they must fit in LUA_BITSINT-1 bits (-1 for sign) 54** so they must fit in LUAC_BITSINT-1 bits (-1 for sign)
55*/ 55*/
56#if SIZE_Bx < LUA_BITSINT-1 56#if SIZE_Bx < LUAC_BITSINT-1
57#define MAXARG_Bx ((1<<SIZE_Bx)-1) 57#define MAXARG_Bx ((1<<SIZE_Bx)-1)
58#define MAXARG_sBx (MAXARG_Bx>>1) /* `sBx' is signed */ 58#define MAXARG_sBx (MAXARG_Bx>>1) /* `sBx' is signed */
59#else 59#else