diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-01-29 11:14:49 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-01-29 11:14:49 -0200 |
commit | caf01b5bfa33617b7bb2c40292f74599f6030eba (patch) | |
tree | 7ebc6352b89f9c331d693701aa4824a7320195e5 /lcode.c | |
parent | ca1f28b829090e99fb82d688dac34b2055d2963e (diff) | |
download | lua-caf01b5bfa33617b7bb2c40292f74599f6030eba.tar.gz lua-caf01b5bfa33617b7bb2c40292f74599f6030eba.tar.bz2 lua-caf01b5bfa33617b7bb2c40292f74599f6030eba.zip |
better implementation for list "for"
Diffstat (limited to 'lcode.c')
-rw-r--r-- | lcode.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lcode.c,v 1.56 2001/01/15 16:13:24 roberto Exp roberto $ | 2 | ** $Id: lcode.c,v 1.57 2001/01/19 13:20:30 roberto Exp roberto $ |
3 | ** Code generator for Lua | 3 | ** Code generator for Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -698,8 +698,8 @@ const OpProperties luaK_opproperties[NUM_OPCODES] = { | |||
698 | {iO, 0, 0}, /* OP_PUSHNILJMP */ | 698 | {iO, 0, 0}, /* OP_PUSHNILJMP */ |
699 | {iS, 0, 0}, /* OP_FORPREP */ | 699 | {iS, 0, 0}, /* OP_FORPREP */ |
700 | {iS, 0, 3}, /* OP_FORLOOP */ | 700 | {iS, 0, 3}, /* OP_FORLOOP */ |
701 | {iS, 2, 0}, /* OP_LFORPREP */ | 701 | {iS, 3, 0}, /* OP_LFORPREP */ |
702 | {iS, 0, 3}, /* OP_LFORLOOP */ | 702 | {iS, 0, 4}, /* OP_LFORLOOP */ |
703 | {iAB, VD, 0} /* OP_CLOSURE */ | 703 | {iAB, VD, 0} /* OP_CLOSURE */ |
704 | }; | 704 | }; |
705 | 705 | ||