aboutsummaryrefslogtreecommitdiff
path: root/lcode.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-01-25 19:50:39 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-01-25 19:50:39 -0200
commit74907fb71e69949d63d94c4c12b80938c974a6df (patch)
tree6093d5e5af4870fe2600eff5815d5db96969c979 /lcode.h
parentb38e594ed738238d352bb5344446ef07d15510b4 (diff)
downloadlua-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.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lcode.h b/lcode.h
index 3413fe88..e9058393 100644
--- a/lcode.h
+++ b/lcode.h
@@ -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);
43int luaK_codeABC (FuncState *fs, OpCode o, int A, int B, int C); 43int luaK_codeABC (FuncState *fs, OpCode o, int A, int B, int C);
44void luaK_nil (FuncState *fs, int from, int n); 44void luaK_nil (FuncState *fs, int from, int n);
45void luaK_reserveregs (FuncState *fs, int n); 45void luaK_reserveregs (FuncState *fs, int n);
46int luaK_stringk (FuncState *fs, TString *s); 46int luaK_stringK (FuncState *fs, TString *s);
47int luaK_numberK (FuncState *fs, lua_Number r);
47void luaK_dischargevars (FuncState *fs, expdesc *e); 48void luaK_dischargevars (FuncState *fs, expdesc *e);
48int luaK_exp2anyreg (FuncState *fs, expdesc *e); 49int luaK_exp2anyreg (FuncState *fs, expdesc *e);
49void luaK_exp2nextreg (FuncState *fs, expdesc *e); 50void luaK_exp2nextreg (FuncState *fs, expdesc *e);