| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
This essentially backs out https://github.com/lua/lua/commit/99ac4a260fc1bf958515c1816d866852194493f2
See lua mailing thread "'constfolding' passes a proper Lua state to 'luaO_arith'"
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Move hacks out of luaL_tolstring
|
|
|
|
| |
lua_topointer
|
|
|
|
| |
This way their type can be checked via `instanceof`
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
See https://jsperf.com/unsigned-comparison
|
| |
|
| |
|
|
|
|
| |
This reverts commit 6646bebd474b95a2d4cbb8558c0d1cb5b5353de0.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
In future this could be configurable
|
| |
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Not L.stack.length which is more equivalent to C's L->stacksize
|
| |
| |
| |
| | |
We don't keep around a pool of callinfo objects
|
| | |
|
| | |
|
| |
| |
| |
| | |
luaD_reallocstack
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Sadly I couldn't figure out a way to continue use of parseInt
|
| |
|
|
|
|
|
| |
Fixes exceeding stack size
Brings more in line with C source
|
|
|
|
| |
It may get mutated in lua_number2strx
|
| |
|