From 8eca21c2e85625390a2a3b08c231e75e315980b0 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 1 Jul 2019 12:42:31 -0300 Subject: First take on constant propagation --- lcode.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lcode.h') diff --git a/lcode.h b/lcode.h index 0758f88d..c4953295 100644 --- a/lcode.h +++ b/lcode.h @@ -51,6 +51,7 @@ typedef enum UnOpr { OPR_MINUS, OPR_BNOT, OPR_NOT, OPR_LEN, OPR_NOUNOPR } UnOpr; #define luaK_jumpto(fs,t) luaK_patchlist(fs, luaK_jump(fs), t) +LUAI_FUNC int luaK_tonumeral (FuncState *fs, const expdesc *e, TValue *v); 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_codeABCk (FuncState *fs, OpCode o, int A, -- cgit v1.2.3-55-g6feb