mirror of
https://github.com/lua/lua
synced 2026-09-26 16:17:11 +03:00
small peephole optimizations
This commit is contained in:
parent
bdc751ce23
commit
10b8c99bbb
5 changed files with 63 additions and 48 deletions
3
lcode.h
3
lcode.h
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
** $Id: lcode.h,v 1.67 2017/09/28 16:53:29 roberto Exp roberto $
|
||||
** $Id: lcode.h,v 1.68 2017/10/04 21:56:32 roberto Exp roberto $
|
||||
** Code generator for Lua
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
|
|
@ -88,6 +88,7 @@ LUAI_FUNC void luaK_infix (FuncState *fs, BinOpr op, expdesc *v);
|
|||
LUAI_FUNC void luaK_posfix (FuncState *fs, BinOpr op, expdesc *v1,
|
||||
expdesc *v2, int line);
|
||||
LUAI_FUNC void luaK_setlist (FuncState *fs, int base, int nelems, int tostore);
|
||||
LUAI_FUNC void luaK_finish (FuncState *fs);
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue