diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-01-25 19:50:39 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-01-25 19:50:39 -0200 |
commit | 74907fb71e69949d63d94c4c12b80938c974a6df (patch) | |
tree | 6093d5e5af4870fe2600eff5815d5db96969c979 /lcode.h | |
parent | b38e594ed738238d352bb5344446ef07d15510b4 (diff) | |
download | lua-74907fb71e69949d63d94c4c12b80938c974a6df.tar.gz lua-74907fb71e69949d63d94c4c12b80938c974a6df.tar.bz2 lua-74907fb71e69949d63d94c4c12b80938c974a6df.zip |
OP_LOADINT can be done by OP_LOADK
Diffstat (limited to '')
-rw-r--r-- | lcode.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lcode.h,v 1.24 2001/07/24 17:19:07 roberto Exp $ | 2 | ** $Id: lcode.h,v 1.1 2001/11/29 22:14:34 rieru Exp rieru $ |
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 | */ |
@@ -43,7 +43,8 @@ int luaK_codeABc (FuncState *fs, OpCode o, int A, unsigned int Bc); | |||
43 | int luaK_codeABC (FuncState *fs, OpCode o, int A, int B, int C); | 43 | int luaK_codeABC (FuncState *fs, OpCode o, int A, int B, int C); |
44 | void luaK_nil (FuncState *fs, int from, int n); | 44 | void luaK_nil (FuncState *fs, int from, int n); |
45 | void luaK_reserveregs (FuncState *fs, int n); | 45 | void luaK_reserveregs (FuncState *fs, int n); |
46 | int luaK_stringk (FuncState *fs, TString *s); | 46 | int luaK_stringK (FuncState *fs, TString *s); |
47 | int luaK_numberK (FuncState *fs, lua_Number r); | ||
47 | void luaK_dischargevars (FuncState *fs, expdesc *e); | 48 | void luaK_dischargevars (FuncState *fs, expdesc *e); |
48 | int luaK_exp2anyreg (FuncState *fs, expdesc *e); | 49 | int luaK_exp2anyreg (FuncState *fs, expdesc *e); |
49 | void luaK_exp2nextreg (FuncState *fs, expdesc *e); | 50 | void luaK_exp2nextreg (FuncState *fs, expdesc *e); |