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-github-bd8b9c94b38ddaa3cd7324cbca98571633e03f91.tar.gz |
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 @@ /* -** $Id: lopcodes.c,v 1.8 2001/12/11 22:48:44 roberto Exp $ +** $Id: lopcodes.c,v 1.11 2002/02/05 22:39:12 roberto Exp roberto $ ** extracted automatically from lopcodes.h by mkprint.lua ** DO NOT EDIT ** See Copyright Notice in lua.h @@ -60,6 +60,7 @@ const char *const luaP_opnames[] = { ((b)<<OpModeBreg) | ((c)<<OpModeCreg) | \ ((sa)<<OpModesetA) | ((k)<<OpModeK) | (x)<<OpModeNoTrace | (m)) + const lu_byte luaP_opmodes[NUM_OPCODES] = { /* T n B C sA K mode opcode */ opmode(0,0,1,0, 1,0,iABC) /* OP_MOVE */ @@ -94,7 +95,7 @@ const lu_byte luaP_opmodes[NUM_OPCODES] = { ,opmode(0,0,0,0, 0,0,iABC) /* OP_CALL */ ,opmode(0,0,0,0, 0,0,iABC) /* OP_RETURN */ ,opmode(0,1,0,0, 0,0,iAsBc) /* OP_FORLOOP */ - ,opmode(0,1,0,0, 0,0,iAsBc) /* OP_TFORLOOP */ + ,opmode(0,0,0,0, 0,0,iABC) /* OP_TFORLOOP */ ,opmode(0,0,0,0, 0,0,iABc) /* OP_SETLIST */ ,opmode(0,0,0,0, 0,0,iABc) /* OP_SETLISTO */ ,opmode(0,0,0,0, 0,0,iABC) /* OP_CLOSE */ |