summaryrefslogtreecommitdiff
path: root/lopcodes.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-03-09 13:28:07 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-03-09 13:28:07 -0300
commit370d31a5593220723d222dec6e3e4019decc3309 (patch)
treee04ad903d079da2feea0b1759e89b65d1a70815c /lopcodes.h
parentf8df21bd2071c4e3729d37d1552f54ca2742551a (diff)
downloadlua-370d31a5593220723d222dec6e3e4019decc3309.tar.gz
lua-370d31a5593220723d222dec6e3e4019decc3309.tar.bz2
lua-370d31a5593220723d222dec6e3e4019decc3309.zip
`luacĀ“ -> `luai' (to avoid confusion with other luac stuff)
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 0754c1bc..16d26d41 100644
--- a/lopcodes.h
+++ b/lopcodes.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lopcodes.h,v 1.115 2005/03/08 18:00:16 roberto Exp roberto $ 2** $Id: lopcodes.h,v 1.116 2005/03/08 20:10:05 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 LUAC_BITSINT-1 bits (-1 for sign) 54** so they must fit in LUAI_BITSINT-1 bits (-1 for sign)
55*/ 55*/
56#if SIZE_Bx < LUAC_BITSINT-1 56#if SIZE_Bx < LUAI_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