diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-03-08 16:10:32 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-03-08 16:10:32 -0300 |
commit | bd8b9c94b38ddaa3cd7324cbca98571633e03f91 (patch) | |
tree | 599551d4713dc039c2603e1830cc13acc9552779 /lopcodes.c | |
parent | 4db04555f06b90f3b2cda96c2f4aaeb78266ea86 (diff) | |
download | lua-bd8b9c94b38ddaa3cd7324cbca98571633e03f91.tar.gz lua-bd8b9c94b38ddaa3cd7324cbca98571633e03f91.tar.bz2 lua-bd8b9c94b38ddaa3cd7324cbca98571633e03f91.zip |
generic for (with any number of control variables)
Diffstat (limited to 'lopcodes.c')
-rw-r--r-- | lopcodes.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lopcodes.c,v 1.8 2001/12/11 22:48:44 roberto Exp $ | 2 | ** $Id: lopcodes.c,v 1.11 2002/02/05 22:39:12 roberto Exp roberto $ |
3 | ** extracted automatically from lopcodes.h by mkprint.lua | 3 | ** extracted automatically from lopcodes.h by mkprint.lua |
4 | ** DO NOT EDIT | 4 | ** DO NOT EDIT |
5 | ** See Copyright Notice in lua.h | 5 | ** See Copyright Notice in lua.h |
@@ -60,6 +60,7 @@ const char *const luaP_opnames[] = { | |||
60 | ((b)<<OpModeBreg) | ((c)<<OpModeCreg) | \ | 60 | ((b)<<OpModeBreg) | ((c)<<OpModeCreg) | \ |
61 | ((sa)<<OpModesetA) | ((k)<<OpModeK) | (x)<<OpModeNoTrace | (m)) | 61 | ((sa)<<OpModesetA) | ((k)<<OpModeK) | (x)<<OpModeNoTrace | (m)) |
62 | 62 | ||
63 | |||
63 | const lu_byte luaP_opmodes[NUM_OPCODES] = { | 64 | const lu_byte luaP_opmodes[NUM_OPCODES] = { |
64 | /* T n B C sA K mode opcode */ | 65 | /* T n B C sA K mode opcode */ |
65 | opmode(0,0,1,0, 1,0,iABC) /* OP_MOVE */ | 66 | opmode(0,0,1,0, 1,0,iABC) /* OP_MOVE */ |
@@ -94,7 +95,7 @@ const lu_byte luaP_opmodes[NUM_OPCODES] = { | |||
94 | ,opmode(0,0,0,0, 0,0,iABC) /* OP_CALL */ | 95 | ,opmode(0,0,0,0, 0,0,iABC) /* OP_CALL */ |
95 | ,opmode(0,0,0,0, 0,0,iABC) /* OP_RETURN */ | 96 | ,opmode(0,0,0,0, 0,0,iABC) /* OP_RETURN */ |
96 | ,opmode(0,1,0,0, 0,0,iAsBc) /* OP_FORLOOP */ | 97 | ,opmode(0,1,0,0, 0,0,iAsBc) /* OP_FORLOOP */ |
97 | ,opmode(0,1,0,0, 0,0,iAsBc) /* OP_TFORLOOP */ | 98 | ,opmode(0,0,0,0, 0,0,iABC) /* OP_TFORLOOP */ |
98 | ,opmode(0,0,0,0, 0,0,iABc) /* OP_SETLIST */ | 99 | ,opmode(0,0,0,0, 0,0,iABc) /* OP_SETLIST */ |
99 | ,opmode(0,0,0,0, 0,0,iABc) /* OP_SETLISTO */ | 100 | ,opmode(0,0,0,0, 0,0,iABc) /* OP_SETLISTO */ |
100 | ,opmode(0,0,0,0, 0,0,iABC) /* OP_CLOSE */ | 101 | ,opmode(0,0,0,0, 0,0,iABC) /* OP_CLOSE */ |