code generator (and optimizer) for Lua

This commit is contained in:
Roberto Ierusalimschy
2000-02-22 11:31:19 -02:00
parent 075da266e5
commit 39e1f079bd
2 changed files with 115 additions and 0 deletions

19
lcode.h Normal file
View File

@@ -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