commit | 5205f073c57ae4b69e90d35c02e3a1a1cca44eb4 | [log] [tgz] |
---|---|---|
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | Wed Feb 24 12:24:42 2021 -0300 |
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | Wed Feb 24 12:24:42 2021 -0300 |
tree | 960dfa533a10a825631e83a391434c0bf02e8ecd | |
parent | 31925e4cc20018b2cf46664febd6347ce4a4b766 [diff] |
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".
This is the repository of Lua development code, as seen by the Lua team. It contains the full history of all commits but is mirrored irregularly. For complete information about Lua, visit Lua.org.
Please do not send pull requests. To report issues, post a message to the Lua mailing list.
Download official Lua releases from Lua.org.