Skip to content
Snippets Groups Projects
gh-8069-luajit-fixes.md 601 B
Newer Older
Igor Munkin's avatar
Igor Munkin committed
## bugfix/luajit

Backported patches from the vanilla LuaJIT trunk (gh-8069). The following issues
were fixed as part of this activity:
Igor Munkin's avatar
Igor Munkin committed

* Fixed successful `math.min/math.max` call with no args (gh-6163).
* Fixed inconsistencies in `math.min/math.max` calls with a NaN arg (gh-6163).
Igor Munkin's avatar
Igor Munkin committed
* Fixed `pcall()` call without arguments on arm64.
* Fixed assembling of IR_{AHUV}LOAD specialized to boolean for aarch64.
* Fixed constant rematerialization on arm64.
* Fixed `emit_rma()` for the x64/GC64 mode for non-`mov` instructions.
Igor Munkin's avatar
Igor Munkin committed
* Limited Lua C library path with the default `PATH_MAX` value of 4096 bytes.