History

Lua 5.2.0-work3

Lua Team committed 16 years ago

Commit d618ddd1 parent be77f2777 files · +3825 −3949Browse files

Showing the changes to src/lcode.h (1 of 77 files). Show all

Unified · Split

src/lcode.h+5−3
@@ -1,5 +1,5 @@
1/*1/*
2** $Id: lcode.h,v 1.52 2009/09/23 20:33:05 roberto Exp $2** $Id: lcode.h,v 1.54 2010/04/17 12:46:32 roberto Exp $
3** Code generator for Lua3** Code generator for Lua
4** See Copyright Notice in lua.h4** See Copyright Notice in lua.h
5*/5*/
@@ -57,6 +57,7 @@ LUAI_FUNC int luaK_stringK (FuncState *fs, TString *s); · 51 unmodified lines
57LUAI_FUNC int luaK_numberK (FuncState *fs, lua_Number r);57LUAI_FUNC int luaK_numberK (FuncState *fs, lua_Number r);
58LUAI_FUNC void luaK_dischargevars (FuncState *fs, expdesc *e);58LUAI_FUNC void luaK_dischargevars (FuncState *fs, expdesc *e);
59LUAI_FUNC int luaK_exp2anyreg (FuncState *fs, expdesc *e);59LUAI_FUNC int luaK_exp2anyreg (FuncState *fs, expdesc *e);
60LUAI_FUNC void luaK_exp2anyregup (FuncState *fs, expdesc *e);
60LUAI_FUNC void luaK_exp2nextreg (FuncState *fs, expdesc *e);61LUAI_FUNC void luaK_exp2nextreg (FuncState *fs, expdesc *e);
61LUAI_FUNC void luaK_exp2val (FuncState *fs, expdesc *e);62LUAI_FUNC void luaK_exp2val (FuncState *fs, expdesc *e);
62LUAI_FUNC int luaK_exp2RK (FuncState *fs, expdesc *e);63LUAI_FUNC int luaK_exp2RK (FuncState *fs, expdesc *e);
@@ -72,9 +73,10 @@ LUAI_FUNC void luaK_patchlist (FuncState *fs, int list, int target); · 9 unmodified lines
72LUAI_FUNC void luaK_patchtohere (FuncState *fs, int list);73LUAI_FUNC void luaK_patchtohere (FuncState *fs, int list);
73LUAI_FUNC void luaK_concat (FuncState *fs, int *l1, int l2);74LUAI_FUNC void luaK_concat (FuncState *fs, int *l1, int l2);
74LUAI_FUNC int luaK_getlabel (FuncState *fs);75LUAI_FUNC int luaK_getlabel (FuncState *fs);
75LUAI_FUNC void luaK_prefix (FuncState *fs, UnOpr op, expdesc *v);76LUAI_FUNC void luaK_prefix (FuncState *fs, UnOpr op, expdesc *v, int line);
76LUAI_FUNC void luaK_infix (FuncState *fs, BinOpr op, expdesc *v);77LUAI_FUNC void luaK_infix (FuncState *fs, BinOpr op, expdesc *v);
77LUAI_FUNC void luaK_posfix (FuncState *fs, BinOpr op, expdesc *v1, expdesc *v2);78LUAI_FUNC void luaK_posfix (FuncState *fs, BinOpr op, expdesc *v1,
79 expdesc *v2, int line);
78LUAI_FUNC void luaK_setlist (FuncState *fs, int base, int nelems, int tostore);80LUAI_FUNC void luaK_setlist (FuncState *fs, int base, int nelems, int tostore);
79 81
80 82