diff options
Diffstat (limited to 'lcode.c')
| -rw-r--r-- | lcode.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lcode.c,v 2.59 2011/08/15 19:41:58 roberto Exp roberto $ | 2 | ** $Id: lcode.c,v 2.60 2011/08/30 16:26:41 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 | */ |
| @@ -426,7 +426,7 @@ static void discharge2reg (FuncState *fs, expdesc *e, int reg) { | |||
| 426 | luaK_nil(fs, reg, 1); | 426 | luaK_nil(fs, reg, 1); |
| 427 | break; | 427 | break; |
| 428 | } | 428 | } |
| 429 | case VFALSE: case VTRUE: { | 429 | case VFALSE: case VTRUE: { |
| 430 | luaK_codeABC(fs, OP_LOADBOOL, reg, e->k == VTRUE, 0); | 430 | luaK_codeABC(fs, OP_LOADBOOL, reg, e->k == VTRUE, 0); |
| 431 | break; | 431 | break; |
| 432 | } | 432 | } |
