diff options
-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.136 2017/11/23 19:29:04 roberto Exp roberto $ | 2 | ** $Id: lcode.c,v 2.137 2017/11/28 12:58:18 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 | */ |
@@ -1399,7 +1399,7 @@ void luaK_infix (FuncState *fs, BinOpr op, expdesc *v) { | |||
1399 | case OPR_GT: case OPR_GE: { | 1399 | case OPR_GT: case OPR_GE: { |
1400 | lua_Integer dummy; | 1400 | lua_Integer dummy; |
1401 | if (!isSCnumber(v, &dummy)) | 1401 | if (!isSCnumber(v, &dummy)) |
1402 | luaK_exp2RK(fs, v); | 1402 | luaK_exp2anyreg(fs, v); |
1403 | /* else keep numeral, which may be an immediate operand */ | 1403 | /* else keep numeral, which may be an immediate operand */ |
1404 | break; | 1404 | break; |
1405 | } | 1405 | } |