|
@@ -1,5 +1,5 @@
|
|
/*
|
|
/*
|
|
-** $Id: lcode.h,v 1.68 2017/10/04 21:56:32 roberto Exp roberto $
|
|
|
|
|
|
+** $Id: lcode.h,v 1.69 2017/11/30 13:29:18 roberto Exp roberto $
|
|
** Code generator for Lua
|
|
** Code generator for Lua
|
|
** See Copyright Notice in lua.h
|
|
** See Copyright Notice in lua.h
|
|
*/
|
|
*/
|
|
@@ -55,6 +55,7 @@ LUAI_FUNC int luaK_codeABx (FuncState *fs, OpCode o, int A, unsigned int Bx);
|
|
LUAI_FUNC int luaK_codeAsBx (FuncState *fs, OpCode o, int A, int Bx);
|
|
LUAI_FUNC int luaK_codeAsBx (FuncState *fs, OpCode o, int A, int Bx);
|
|
LUAI_FUNC int luaK_codeABCk (FuncState *fs, OpCode o, int A,
|
|
LUAI_FUNC int luaK_codeABCk (FuncState *fs, OpCode o, int A,
|
|
int B, int C, int k);
|
|
int B, int C, int k);
|
|
|
|
+LUAI_FUNC int luaK_isKint (expdesc *e);
|
|
LUAI_FUNC void luaK_fixline (FuncState *fs, int line);
|
|
LUAI_FUNC void luaK_fixline (FuncState *fs, int line);
|
|
LUAI_FUNC void luaK_nil (FuncState *fs, int from, int n);
|
|
LUAI_FUNC void luaK_nil (FuncState *fs, int from, int n);
|
|
LUAI_FUNC void luaK_reserveregs (FuncState *fs, int n);
|
|
LUAI_FUNC void luaK_reserveregs (FuncState *fs, int n);
|
|
@@ -80,7 +81,6 @@ LUAI_FUNC void luaK_patchlist (FuncState *fs, int list, int target);
|
|
void luaK_patchgoto (FuncState *fs, int list, int target, int hasclose);
|
|
void luaK_patchgoto (FuncState *fs, int list, int target, int hasclose);
|
|
LUAI_FUNC void luaK_patchtohere (FuncState *fs, int list);
|
|
LUAI_FUNC void luaK_patchtohere (FuncState *fs, int list);
|
|
LUAI_FUNC void luaK_patchclose (FuncState *fs, int list);
|
|
LUAI_FUNC void luaK_patchclose (FuncState *fs, int list);
|
|
-LUAI_FUNC int luaK_needclose (FuncState *fs, int list);
|
|
|
|
LUAI_FUNC void luaK_concat (FuncState *fs, int *l1, int l2);
|
|
LUAI_FUNC void luaK_concat (FuncState *fs, int *l1, int l2);
|
|
LUAI_FUNC int luaK_getlabel (FuncState *fs);
|
|
LUAI_FUNC int luaK_getlabel (FuncState *fs);
|
|
LUAI_FUNC void luaK_prefix (FuncState *fs, UnOpr op, expdesc *v, int line);
|
|
LUAI_FUNC void luaK_prefix (FuncState *fs, UnOpr op, expdesc *v, int line);
|