Skip to content

Backporting LuaJIT upstream commits part 13 #11691

@Buristan

Description

@Buristan

This ticket is an umbrella for all commits we planning to back-port in the next Q.
This list includes commits excluded from #11278 and may be updated later with some new.

general + x86/x64:

  • 9c8eb7cf FFI: Fix dangling CType references.
  • c64020f3 FFI: Fix dangling CType references (again).
  • e3fa3c48 Avoid out-of-range PC for stack overflow error from snapshot restore.
  • c92d0cb1 x86/x64: Don't use undefined MUL/IMUL zero flag.
  • 5ca25ee8 Correctly close VM state after early OOM during open.
  • 65c84939 Invalidate SCEV entry when returning to lower frame.

ARM64:

  • 7cc53f0b ARM64: Prevent STP fusion for conditional code emitted by TBAR.
  • ebc4919a ARM64: Improve generation of immediates.
  • 69138082 ARM64: More improvements to the generation of immediates.
  • b8c6ccd5 ARM64: Fix LDP/STP fusion (again).
  • 93ce12ee ARM64: Fix assembly of HREFK (again).

macOS 15:

  • 2240d844 macOS: Fix macOS 15 / Clang 16 build.
  • b2915e9a macOS: Workaround for buggy XCode 15.0 - 15.2 linker.
  • 97813fb9 macOS: Remove obsolete -single_module flag.

Metadata

Metadata

Labels

Type

Projects

Status

Q4 2025 – Oct-Dec

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions