diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2004-10-04 16:01:53 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2004-10-04 16:01:53 -0300 |
commit | 5ee87acd6b920a6a122277cd817aea4cfd618671 (patch) | |
tree | 5e931c1db32c2be6378fde498ffcc5ee9dec0d6a /lcode.h | |
parent | 5d834bdf571ef3ee343b21fde2d49de1e4ea08b4 (diff) | |
download | lua-5ee87acd6b920a6a122277cd817aea4cfd618671.tar.gz lua-5ee87acd6b920a6a122277cd817aea4cfd618671.tar.bz2 lua-5ee87acd6b920a6a122277cd817aea4cfd618671.zip |
small optimization for boolean constants + new format for SETLIST opcode
Diffstat (limited to 'lcode.h')
-rw-r--r-- | lcode.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lcode.h,v 1.38 2002/12/11 12:34:22 roberto Exp roberto $ | 2 | ** $Id: lcode.h,v 1.39 2004/05/31 18:51:50 roberto Exp $ |
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 | */ |
@@ -72,6 +72,7 @@ int luaK_getlabel (FuncState *fs); | |||
72 | void luaK_prefix (FuncState *fs, UnOpr op, expdesc *v); | 72 | void luaK_prefix (FuncState *fs, UnOpr op, expdesc *v); |
73 | void luaK_infix (FuncState *fs, BinOpr op, expdesc *v); | 73 | void luaK_infix (FuncState *fs, BinOpr op, expdesc *v); |
74 | void luaK_posfix (FuncState *fs, BinOpr op, expdesc *v1, expdesc *v2); | 74 | void luaK_posfix (FuncState *fs, BinOpr op, expdesc *v1, expdesc *v2); |
75 | void luaK_setlist (FuncState *fs, int base, int nelems, int tostore); | ||
75 | 76 | ||
76 | 77 | ||
77 | #endif | 78 | #endif |