aboutsummaryrefslogtreecommitdiff
path: root/lopcodes.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-10-25 10:24:55 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-10-25 10:24:55 -0200
commitd72ec210c73c9143288db06c06d35ec0077a8097 (patch)
treed43f1344d524267200712e00b9f6dff914ccb5b6 /lopcodes.h
parentc77baf752caa81a485d8930352c90b982be76215 (diff)
downloadlua-d72ec210c73c9143288db06c06d35ec0077a8097.tar.gz
lua-d72ec210c73c9143288db06c06d35ec0077a8097.tar.bz2
lua-d72ec210c73c9143288db06c06d35ec0077a8097.zip
POS_A replaced by POS_Ax (which is more "precise")
Diffstat (limited to 'lopcodes.h')
-rw-r--r--lopcodes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lopcodes.h b/lopcodes.h
index 935ac17e..b26a4519 100644
--- a/lopcodes.h
+++ b/lopcodes.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lopcodes.h,v 1.135 2010/03/12 19:14:06 roberto Exp roberto $ 2** $Id: lopcodes.h,v 1.136 2010/10/13 16:45:54 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*/
@@ -123,7 +123,7 @@ enum OpMode {iABC, iABx, iAsBx, iAx}; /* basic instruction format */
123 | (cast(Instruction, bc)<<POS_Bx)) 123 | (cast(Instruction, bc)<<POS_Bx))
124 124
125#define CREATE_Ax(o,a) ((cast(Instruction, o)<<POS_OP) \ 125#define CREATE_Ax(o,a) ((cast(Instruction, o)<<POS_OP) \
126 | (cast(Instruction, a)<<POS_A)) 126 | (cast(Instruction, a)<<POS_Ax))
127 127
128 128
129/* 129/*