diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-07-01 12:42:31 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-07-01 12:42:31 -0300 |
commit | 8eca21c2e85625390a2a3b08c231e75e315980b0 (patch) | |
tree | 47106e7a62cf00091594302629c7157fed81f738 /lcode.h | |
parent | 924bed7297d5ea16a78ec07e7acc64afad951aa8 (diff) | |
download | lua-8eca21c2e85625390a2a3b08c231e75e315980b0.tar.gz lua-8eca21c2e85625390a2a3b08c231e75e315980b0.tar.bz2 lua-8eca21c2e85625390a2a3b08c231e75e315980b0.zip |
First take on constant propagation
Diffstat (limited to 'lcode.h')
-rw-r--r-- | lcode.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 | ||
54 | LUAI_FUNC int luaK_tonumeral (FuncState *fs, const expdesc *e, TValue *v); | ||
54 | LUAI_FUNC int luaK_codeABx (FuncState *fs, OpCode o, int A, unsigned int Bx); | 55 | LUAI_FUNC int luaK_codeABx (FuncState *fs, OpCode o, int A, unsigned int Bx); |
55 | LUAI_FUNC int luaK_codeAsBx (FuncState *fs, OpCode o, int A, int Bx); | 56 | LUAI_FUNC int luaK_codeAsBx (FuncState *fs, OpCode o, int A, int Bx); |
56 | LUAI_FUNC int luaK_codeABCk (FuncState *fs, OpCode o, int A, | 57 | LUAI_FUNC int luaK_codeABCk (FuncState *fs, OpCode o, int A, |