aboutsummaryrefslogtreecommitdiff
path: root/lcode.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-07-01 12:42:31 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-07-01 12:42:31 -0300
commit8eca21c2e85625390a2a3b08c231e75e315980b0 (patch)
tree47106e7a62cf00091594302629c7157fed81f738 /lcode.h
parent924bed7297d5ea16a78ec07e7acc64afad951aa8 (diff)
downloadlua-8eca21c2e85625390a2a3b08c231e75e315980b0.tar.gz
lua-8eca21c2e85625390a2a3b08c231e75e315980b0.tar.bz2
lua-8eca21c2e85625390a2a3b08c231e75e315980b0.zip
First take on constant propagation
Diffstat (limited to 'lcode.h')
-rw-r--r--lcode.h1
1 files changed, 1 insertions, 0 deletions
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;
51 51
52#define luaK_jumpto(fs,t) luaK_patchlist(fs, luaK_jump(fs), t) 52#define luaK_jumpto(fs,t) luaK_patchlist(fs, luaK_jump(fs), t)
53 53
54LUAI_FUNC int luaK_tonumeral (FuncState *fs, const expdesc *e, TValue *v);
54LUAI_FUNC int luaK_codeABx (FuncState *fs, OpCode o, int A, unsigned int Bx); 55LUAI_FUNC int luaK_codeABx (FuncState *fs, OpCode o, int A, unsigned int Bx);
55LUAI_FUNC int luaK_codeAsBx (FuncState *fs, OpCode o, int A, int Bx); 56LUAI_FUNC int luaK_codeAsBx (FuncState *fs, OpCode o, int A, int Bx);
56LUAI_FUNC int luaK_codeABCk (FuncState *fs, OpCode o, int A, 57LUAI_FUNC int luaK_codeABCk (FuncState *fs, OpCode o, int A,