diff --git a/changelogs/unreleased/gh-9145-luajit-fixes.md b/changelogs/unreleased/gh-9145-luajit-fixes.md new file mode 100644 index 0000000000000000000000000000000000000000..92178a25ccfc6d413bb623aae2481d2b602b73b4 --- /dev/null +++ b/changelogs/unreleased/gh-9145-luajit-fixes.md @@ -0,0 +1,13 @@ +## bugfix/luajit + +Backported patches from the vanilla LuaJIT trunk (gh-9145). The following issues +were fixed as part of this activity: + +* Fixed CSE of a `REF_BASE` operand across `IR_RETF`. +* Fixed the fold rule for `BUFHDR APPEND`. +* Fixed HREFK, ALOAD, HLOAD, forwarding vs. `table.clear()`. +* Fixed snapshot PC when linking to `BC_JLOOP` that was a `BC_RET*`. +* Fixed dangling references to CType. +* Ensured returned string is alive in `ffi.typeinfo()`. +* Fixed the missing initialization of the internal structure, leading to a + crash when recording a trace with an allocation of cdata. diff --git a/third_party/luajit b/third_party/luajit index 8772dee8b69a2cebcb752c163c58f2b98a6c1824..10396abf24c39c8c4318e7e312bae1f44cb65ac3 160000 --- a/third_party/luajit +++ b/third_party/luajit @@ -1 +1 @@ -Subproject commit 8772dee8b69a2cebcb752c163c58f2b98a6c1824 +Subproject commit 10396abf24c39c8c4318e7e312bae1f44cb65ac3