From 74907fb71e69949d63d94c4c12b80938c974a6df Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 25 Jan 2002 19:50:39 -0200 Subject: OP_LOADINT can be done by OP_LOADK --- lcode.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lcode.h') diff --git a/lcode.h b/lcode.h index 3413fe88..e9058393 100644 --- a/lcode.h +++ b/lcode.h @@ -1,5 +1,5 @@ /* -** $Id: lcode.h,v 1.24 2001/07/24 17:19:07 roberto Exp $ +** $Id: lcode.h,v 1.1 2001/11/29 22:14:34 rieru Exp rieru $ ** Code generator for Lua ** See Copyright Notice in lua.h */ @@ -43,7 +43,8 @@ int luaK_codeABc (FuncState *fs, OpCode o, int A, unsigned int Bc); int luaK_codeABC (FuncState *fs, OpCode o, int A, int B, int C); void luaK_nil (FuncState *fs, int from, int n); void luaK_reserveregs (FuncState *fs, int n); -int luaK_stringk (FuncState *fs, TString *s); +int luaK_stringK (FuncState *fs, TString *s); +int luaK_numberK (FuncState *fs, lua_Number r); void luaK_dischargevars (FuncState *fs, expdesc *e); int luaK_exp2anyreg (FuncState *fs, expdesc *e); void luaK_exp2nextreg (FuncState *fs, expdesc *e); -- cgit v1.2.3-55-g6feb