From 54dd5cc7fd42a8b073f64b7d16efdb1ed01e2dd5 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 7 Apr 2000 16:35:20 -0300 Subject: reorganization of lcode.c --- lcode.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'lcode.h') diff --git a/lcode.h b/lcode.h index 287977d2..60955615 100644 --- a/lcode.h +++ b/lcode.h @@ -1,5 +1,5 @@ /* -** $Id: lcode.h,v 1.9 2000/03/17 13:09:46 roberto Exp roberto $ +** $Id: lcode.h,v 1.10 2000/04/05 17:51:58 roberto Exp roberto $ ** Code generator for Lua ** See Copyright Notice in lua.h */ @@ -17,12 +17,9 @@ void luaK_error (LexState *ls, const char *msg); -int luaK_0(FuncState *fs, OpCode o, int d); -int luaK_U(FuncState *fs, OpCode o, int u, int d); -int luaK_S(FuncState *fs, OpCode o, int s, int d); -int luaK_AB(FuncState *fs, OpCode o, int a, int b, int d); -int luaK_code (FuncState *fs, Instruction i, int delta); -void luaK_retcode (FuncState *fs, int nlocals, int nexps); +int luaK_code0 (FuncState *fs, OpCode o); +int luaK_code1 (FuncState *fs, OpCode o, int arg1); +int luaK_code2 (FuncState *fs, OpCode o, int arg1, int arg2); int luaK_jump (FuncState *fs); void luaK_patchlist (FuncState *fs, int list, int target); void luaK_concat (FuncState *fs, int *l1, int l2); -- cgit v1.2.3-55-g6feb