diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-04-07 16:35:20 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-04-07 16:35:20 -0300 |
| commit | 54dd5cc7fd42a8b073f64b7d16efdb1ed01e2dd5 (patch) | |
| tree | 01c0e573c486173dcafc3ea0d0d45185f52aa19a /lcode.h | |
| parent | 031978798cc404c2c6757c564675d43a7da129ee (diff) | |
| download | lua-54dd5cc7fd42a8b073f64b7d16efdb1ed01e2dd5.tar.gz lua-54dd5cc7fd42a8b073f64b7d16efdb1ed01e2dd5.tar.bz2 lua-54dd5cc7fd42a8b073f64b7d16efdb1ed01e2dd5.zip | |
reorganization of lcode.c
Diffstat (limited to '')
| -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); |
