diff options
Diffstat (limited to 'lcode.h')
-rw-r--r-- | lcode.h | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lcode.h,v 1.9 2000/03/17 13:09:46 roberto Exp roberto $ | 2 | ** $Id: lcode.h,v 1.10 2000/04/05 17:51:58 roberto Exp roberto $ |
3 | ** Code generator for Lua | 3 | ** Code generator for Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -17,12 +17,9 @@ | |||
17 | 17 | ||
18 | 18 | ||
19 | void luaK_error (LexState *ls, const char *msg); | 19 | void luaK_error (LexState *ls, const char *msg); |
20 | int luaK_0(FuncState *fs, OpCode o, int d); | 20 | int luaK_code0 (FuncState *fs, OpCode o); |
21 | int luaK_U(FuncState *fs, OpCode o, int u, int d); | 21 | int luaK_code1 (FuncState *fs, OpCode o, int arg1); |
22 | int luaK_S(FuncState *fs, OpCode o, int s, int d); | 22 | int luaK_code2 (FuncState *fs, OpCode o, int arg1, int arg2); |
23 | int luaK_AB(FuncState *fs, OpCode o, int a, int b, int d); | ||
24 | int luaK_code (FuncState *fs, Instruction i, int delta); | ||
25 | void luaK_retcode (FuncState *fs, int nlocals, int nexps); | ||
26 | int luaK_jump (FuncState *fs); | 23 | int luaK_jump (FuncState *fs); |
27 | void luaK_patchlist (FuncState *fs, int list, int target); | 24 | void luaK_patchlist (FuncState *fs, int list, int target); |
28 | void luaK_concat (FuncState *fs, int *l1, int l2); | 25 | void luaK_concat (FuncState *fs, int *l1, int l2); |