Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2023-06-02 | Fix handling of instable types in TNEW/TDUP load forwarding. | Mike Pall | 1 | -1/+2 | |
Analyzed by Sergey Kaplun. #994 | |||||
2023-06-02 | Fix compiler warning. | Mike Pall | 1 | -1/+2 | |
Reported by Myriachan. | |||||
2023-04-30 | Fix last commit. | Mike Pall | 1 | -0/+2 | |
Reported by PluMGMK. | |||||
2023-04-16 | Print errors from __gc finalizers instead of rethrowing them. | Mike Pall | 4 | -28/+64 | |
Finalizers are not supposed to throw errors -- this is undefined behavior. Lua 5.1 - 5.3 and (previously) LuaJIT rethrow the error. This randomly breaks some unrelated code that just happens to do an allocation. Bad. Lua 5.4 catches the error and emits a warning instead. But warnings are not enabled by default, so it fails silently. Even worse. LuaJIT (now) catches the error and emits a VM event. The default event handler function prints "ERROR in finalizer: ...". Set a custom handler function with: jit.attach(handler, "errfin") | |||||
2023-04-16 | Fix TDUP load forwarding after table rehash. | Mike Pall | 1 | -0/+6 | |
Reported by Sergey Kaplun. #980 | |||||
2023-04-16 | Fix canonicalization of +-0.0 keys for IR_NEWREF. | Mike Pall | 1 | -0/+2 | |
Reported by Sergey Kaplun. #981 | |||||
2023-02-21 | Improve error reporting on stack overflow. | Mike Pall | 1 | -1/+1 | |
Thanks to Nicolas Lebedenco. | |||||
2023-02-21 | Allow building sources with mixed LF/CRLF line-endings. | Mike Pall | 1 | -4/+10 | |
Reported by mgood7123. | |||||
2023-01-04 | Fix compiler warning. | Mike Pall | 1 | -2/+2 | |
Reported by Christopher Ng. | |||||
2023-01-04 | Don't fail for Clang builds, which pretend to be an ancient GCC. | Mike Pall | 1 | -0/+6 | |
Reported by pkubaj. | |||||
2022-12-22 | Avoid negation of signed integers in C that may hold INT*_MIN. | Mike Pall | 12 | -32/+32 | |
Reported by minoki. Recent C compilers 'take advantage' of the undefined behavior. This completely changes the meaning of expressions like (k == -k). | |||||
2022-12-09 | Correct fix for stack check when recording BC_VARG. | Mike Pall | 1 | -2/+2 | |
Reported by Yichun Zhang. | |||||
2022-12-07 | Disable FMA by default. Use -Ofma or jit.opt.start("+fma") to enable. | Mike Pall | 7 | -6/+35 | |
See the discussion in #918 for the rationale. | |||||
2022-12-07 | FFI: Fix dangling reference to CType. Improve checks. | Mike Pall | 2 | -0/+16 | |
Reported by elmknot. | |||||
2022-12-01 | ARM64: Fix code generation for IR_SLOAD with typecheck + conversion. | Mike Pall | 1 | -1/+1 | |
Reported by memcorrupt. | |||||
2022-11-27 | PS4/PS5: Fix build scripts. | Mike Pall | 2 | -4/+4 | |
Thanks to Mathias Westerdahl. | |||||
2022-11-27 | Avoid assertion in case of stack overflow from stitched trace. | Mike Pall | 1 | -3/+6 | |
Reported by Sergey Bronnikov. Fixed by Sergey Kaplun. | |||||
2022-11-22 | NX: Always compile with -fPIC. | Mike Pall | 1 | -0/+1 | |
Suggested by Mathias Westerdahl. | |||||
2022-11-14 | Clarify contact page. | Mike Pall | 1 | -0/+7 | |
2022-11-09 | Ensure correct stack top for OOM error message. | Mike Pall | 1 | -0/+1 | |
Reported by Sergey Kaplun. | |||||
2022-10-04 | ARM64: Fix IR_SLOAD assembly. | Mike Pall | 1 | -1/+1 | |
Reported by Gate88. | |||||
2022-09-14 | Fix trace join to BC_JLOOP originating from BC_ITERN. | Mike Pall | 1 | -1/+2 | |
Reported by OpenResty Inc. | |||||
2022-09-13 | Fix compiler warnings. | Mike Pall | 3 | -7/+7 | |
Reported by gan74. | |||||
2022-09-13 | Fix last edit. | Mike Pall | 1 | -1/+0 | |
2022-09-13 | Remove dead Wiki links. | Mike Pall | 13 | -27/+0 | |
The lost content may be resurrected later. | |||||
2022-09-12 | Fix QNX build. | Mike Pall | 3 | -1/+8 | |
Note: this is not an officially supported target. Contributed by Wen Yang. | |||||
2022-08-15 | Add -F option to override filename in jit.bcsave (luajit -b). | Mike Pall | 2 | -7/+23 | |
Suggested by Mathias Westerdahl. | |||||
2022-08-15 | Patch luajit.pc with INSTALL_INC, if customized. | Mike Pall | 1 | -1/+5 | |
Suggested by Henrique Bucher. | |||||
2022-08-10 | LJ_GC64: Fix lua_concat(). | Mike Pall | 1 | -1/+1 | |
Reported by Mathias Westerdahl. | |||||
2022-08-07 | Prevent use of RTLD_DEFAULT when NO_RTLD_DEFAULT is defined. | Mike Pall | 2 | -2/+2 | |
Workaround for Android 4.4 bug. Thanks to gudzpoz. | |||||
2022-07-28 | Improve GC estimation for userdata with attached managed memory. | Mike Pall | 1 | -0/+3 | |
This works well for string.buffers, but not for userdata or cdata with attached unmanaged memory (malloc/free, mmap/munmap). | |||||
2022-07-28 | Add missing GC steps to string buffer methods. | Mike Pall | 1 | -0/+2 | |
Reported by Cosmin Apreutesei. | |||||
2022-07-27 | x86/x64: Limit VLOAD fusion to simple cases. | Mike Pall | 1 | -1/+2 | |
Reported by ccagml. | |||||
2022-07-22 | OSX/iOS/ARM64: Fix generation of Mach-O object files. | Mike Pall | 1 | -3/+3 | |
Thanks to Carlo Cabrera. | |||||
2022-07-21 | Prevent trace start at BC_ITERL after compiled BC_ITERN. | Mike Pall | 1 | -0/+2 | |
Reported by ccagml. | |||||
2022-07-19 | ARM64: Allow building with unwinding disabled. | Mike Pall | 1 | -0/+2 | |
2022-07-13 | FFI: Fix sizeof expression in C parser for reference types. | Mike Pall | 1 | -1/+1 | |
2022-07-13 | FFI: Fix ffi.alignof() for reference types. | Mike Pall | 3 | -1/+10 | |
Reported by Eric Gouyer. | |||||
2022-07-13 | FFI: Allow ffi.metatype() for typedefs with attributes. | Mike Pall | 1 | -1/+1 | |
Reported by Eric Gouyer. | |||||
2022-07-12 | OSX/iOS/ARM64: Fix bytecode embedding in Mach-O object file. | Mike Pall | 1 | -1/+13 | |
Thanks to Carlo Cabrera. | |||||
2022-07-12 | LJ_GC64: Fix IR_VARG offset for fixed number of results. | Mike Pall | 1 | -1/+1 | |
Reported by George Vaintrub. Fixed by Sergey Kaplun. | |||||
2022-07-08 | x86/x64: Fix math.ceil(-0.9) result sign. | Mike Pall | 1 | -7/+6 | |
Reported by minoki. | |||||
2022-06-23 | Grammar and spell check. | Mike Pall | 11 | -72/+72 | |
2022-06-13 | Make embedded bytecode readable and forward-compatible. | Mike Pall | 2 | -45/+95 | |
2022-06-08 | DynASM: Fix warnings. | Mike Pall | 2 | -9/+11 | |
2022-06-08 | Fix warnings in minilua.c. | Mike Pall | 2 | -2/+10 | |
2022-06-08 | Update console build instructions. | Mike Pall | 1 | -28/+36 | |
2022-06-08 | Add Nintendo Switch port. | Mike Pall | 6 | -4/+179 | |
Contributed by Swyter and vdweller84. | |||||
2022-06-08 | Avoid zero-sized arrays in jit_State. | Mike Pall | 1 | -0/+6 | |
2022-06-08 | Don't use jit_State during build with JIT disabled. | Mike Pall | 3 | -0/+19 | |