diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-02-22 11:31:19 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-02-22 11:31:19 -0200 |
commit | 39e1f079bdf045d64ad6f1b5da1eb48cc79c6c38 (patch) | |
tree | 4292e586fe67b34ade50c66bfcb6b8ef59072a4c /lcode.h | |
parent | 075da266e53868ae78dc4eebf8675592d312a67d (diff) | |
download | lua-39e1f079bdf045d64ad6f1b5da1eb48cc79c6c38.tar.gz lua-39e1f079bdf045d64ad6f1b5da1eb48cc79c6c38.tar.bz2 lua-39e1f079bdf045d64ad6f1b5da1eb48cc79c6c38.zip |
code generator (and optimizer) for Lua
Diffstat (limited to '')
-rw-r--r-- | lcode.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lcode.h b/lcode.h new file mode 100644 index 00000000..8ea81cbd --- /dev/null +++ b/lcode.h | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | ** $Id: $ | ||
3 | ** Code generator for Lua | ||
4 | ** See Copyright Notice in lua.h | ||
5 | */ | ||
6 | |||
7 | #ifndef lcode_h | ||
8 | #define lcode_h | ||
9 | |||
10 | #include "llex.h" | ||
11 | #include "lobject.h" | ||
12 | |||
13 | |||
14 | int luaK_primitivecode (LexState *ls, Instruction i); | ||
15 | int luaK_code (LexState *ls, Instruction i); | ||
16 | void luaK_fixjump (LexState *ls, int pc, int dest); | ||
17 | |||
18 | |||
19 | #endif | ||