diff options
Diffstat (limited to 'lcode.c')
-rw-r--r-- | lcode.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1509,7 +1509,7 @@ static void codeeq (FuncState *fs, BinOpr opr, expdesc *e1, expdesc *e2) { | |||
1509 | lua_assert(e1->k == VK || e1->k == VKINT || e1->k == VKFLT); | 1509 | lua_assert(e1->k == VK || e1->k == VKINT || e1->k == VKFLT); |
1510 | swapexps(e1, e2); | 1510 | swapexps(e1, e2); |
1511 | } | 1511 | } |
1512 | r1 = luaK_exp2anyreg(fs, e1); /* 1nd expression must be in register */ | 1512 | r1 = luaK_exp2anyreg(fs, e1); /* 1st expression must be in register */ |
1513 | if (isSCnumber(e2, &im, &isfloat)) { | 1513 | if (isSCnumber(e2, &im, &isfloat)) { |
1514 | op = OP_EQI; | 1514 | op = OP_EQI; |
1515 | r2 = im; /* immediate operand */ | 1515 | r2 = im; /* immediate operand */ |