summaryrefslogtreecommitdiff
path: root/lcode.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-04-07 16:35:20 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-04-07 16:35:20 -0300
commit54dd5cc7fd42a8b073f64b7d16efdb1ed01e2dd5 (patch)
tree01c0e573c486173dcafc3ea0d0d45185f52aa19a /lcode.h
parent031978798cc404c2c6757c564675d43a7da129ee (diff)
downloadlua-54dd5cc7fd42a8b073f64b7d16efdb1ed01e2dd5.tar.gz
lua-54dd5cc7fd42a8b073f64b7d16efdb1ed01e2dd5.tar.bz2
lua-54dd5cc7fd42a8b073f64b7d16efdb1ed01e2dd5.zip
reorganization of lcode.c
Diffstat (limited to 'lcode.h')
-rw-r--r--lcode.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/lcode.h b/lcode.h
index 287977d2..60955615 100644
--- a/lcode.h
+++ b/lcode.h
@@ -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
19void luaK_error (LexState *ls, const char *msg); 19void luaK_error (LexState *ls, const char *msg);
20int luaK_0(FuncState *fs, OpCode o, int d); 20int luaK_code0 (FuncState *fs, OpCode o);
21int luaK_U(FuncState *fs, OpCode o, int u, int d); 21int luaK_code1 (FuncState *fs, OpCode o, int arg1);
22int luaK_S(FuncState *fs, OpCode o, int s, int d); 22int luaK_code2 (FuncState *fs, OpCode o, int arg1, int arg2);
23int luaK_AB(FuncState *fs, OpCode o, int a, int b, int d);
24int luaK_code (FuncState *fs, Instruction i, int delta);
25void luaK_retcode (FuncState *fs, int nlocals, int nexps);
26int luaK_jump (FuncState *fs); 23int luaK_jump (FuncState *fs);
27void luaK_patchlist (FuncState *fs, int list, int target); 24void luaK_patchlist (FuncState *fs, int list, int target);
28void luaK_concat (FuncState *fs, int *l1, int l2); 25void luaK_concat (FuncState *fs, int *l1, int l2);