diff options
| -rw-r--r-- | lcode.c | 4 | ||||
| -rw-r--r-- | lcode.h | 3 |
2 files changed, 4 insertions, 3 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lcode.c,v 2.58 2011/07/27 18:07:37 roberto Exp roberto $ | 2 | ** $Id: lcode.c,v 2.59 2011/08/15 19:41:58 roberto Exp roberto $ |
| 3 | ** Code generator for Lua | 3 | ** Code generator for Lua |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -643,7 +643,7 @@ void luaK_goiftrue (FuncState *fs, expdesc *e) { | |||
| 643 | } | 643 | } |
| 644 | 644 | ||
| 645 | 645 | ||
| 646 | static void luaK_goiffalse (FuncState *fs, expdesc *e) { | 646 | void luaK_goiffalse (FuncState *fs, expdesc *e) { |
| 647 | int pc; /* pc of last jump */ | 647 | int pc; /* pc of last jump */ |
| 648 | luaK_dischargevars(fs, e); | 648 | luaK_dischargevars(fs, e); |
| 649 | switch (e->k) { | 649 | switch (e->k) { |
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lcode.h,v 1.56 2011/02/01 18:03:10 roberto Exp roberto $ | 2 | ** $Id: lcode.h,v 1.57 2011/04/07 18:14:12 roberto Exp roberto $ |
| 3 | ** Code generator for Lua | 3 | ** Code generator for Lua |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -62,6 +62,7 @@ LUAI_FUNC int luaK_exp2RK (FuncState *fs, expdesc *e); | |||
| 62 | LUAI_FUNC void luaK_self (FuncState *fs, expdesc *e, expdesc *key); | 62 | LUAI_FUNC void luaK_self (FuncState *fs, expdesc *e, expdesc *key); |
| 63 | LUAI_FUNC void luaK_indexed (FuncState *fs, expdesc *t, expdesc *k); | 63 | LUAI_FUNC void luaK_indexed (FuncState *fs, expdesc *t, expdesc *k); |
| 64 | LUAI_FUNC void luaK_goiftrue (FuncState *fs, expdesc *e); | 64 | LUAI_FUNC void luaK_goiftrue (FuncState *fs, expdesc *e); |
| 65 | LUAI_FUNC void luaK_goiffalse (FuncState *fs, expdesc *e); | ||
| 65 | LUAI_FUNC void luaK_storevar (FuncState *fs, expdesc *var, expdesc *e); | 66 | LUAI_FUNC void luaK_storevar (FuncState *fs, expdesc *var, expdesc *e); |
| 66 | LUAI_FUNC void luaK_setreturns (FuncState *fs, expdesc *e, int nresults); | 67 | LUAI_FUNC void luaK_setreturns (FuncState *fs, expdesc *e, int nresults); |
| 67 | LUAI_FUNC void luaK_setoneret (FuncState *fs, expdesc *e); | 68 | LUAI_FUNC void luaK_setoneret (FuncState *fs, expdesc *e); |
