aboutsummaryrefslogtreecommitdiff
path: root/lmem.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2021-02-24 12:24:42 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2021-02-24 12:24:42 -0300
commit5205f073c57ae4b69e90d35c02e3a1a1cca44eb4 (patch)
tree960dfa533a10a825631e83a391434c0bf02e8ecd /lmem.c
parent31925e4cc20018b2cf46664febd6347ce4a4b766 (diff)
downloadlua-5205f073c57ae4b69e90d35c02e3a1a1cca44eb4.tar.gz
lua-5205f073c57ae4b69e90d35c02e3a1a1cca44eb4.tar.bz2
lua-5205f073c57ae4b69e90d35c02e3a1a1cca44eb4.zip
Don't use tointegerns when luaV_tointegerns will do
Some places don't need the "fast path" macro tointegerns, either because speed is not essential (lcode.c) or because the value is not supposed to be an integer already (luaV_equalobj and luaG_tointerror). Moreover, luaV_equalobj should always use F2Ieq, even if Lua is compiled to "round to floor".
Diffstat (limited to 'lmem.c')
0 files changed, 0 insertions, 0 deletions