diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-12-30 11:45:08 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-12-30 11:45:08 -0300 |
commit | bd1b87c5790c0c6fe23f76aa360e879922e1e738 (patch) | |
tree | 49978c2dd847c7ff4ec84e1a153ca37deef79e2a /lcode.c | |
parent | d7bb8df8414f71a290c8a4b1c9f7c6fe839a94df (diff) | |
download | lua-bd1b87c5790c0c6fe23f76aa360e879922e1e738.tar.gz lua-bd1b87c5790c0c6fe23f76aa360e879922e1e738.tar.bz2 lua-bd1b87c5790c0c6fe23f76aa360e879922e1e738.zip |
Comments (mosty typos)
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 */ |