From 39e1f079bdf045d64ad6f1b5da1eb48cc79c6c38 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 22 Feb 2000 11:31:19 -0200 Subject: code generator (and optimizer) for Lua --- lcode.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 lcode.h (limited to 'lcode.h') diff --git a/lcode.h b/lcode.h new file mode 100644 index 00000000..8ea81cbd --- /dev/null +++ b/lcode.h @@ -0,0 +1,19 @@ +/* +** $Id: $ +** Code generator for Lua +** See Copyright Notice in lua.h +*/ + +#ifndef lcode_h +#define lcode_h + +#include "llex.h" +#include "lobject.h" + + +int luaK_primitivecode (LexState *ls, Instruction i); +int luaK_code (LexState *ls, Instruction i); +void luaK_fixjump (LexState *ls, int pc, int dest); + + +#endif -- cgit v1.2.3-55-g6feb