Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Fix maxslots when recording BC_VARG, part 2. | Mike Pall | 2023-07-09 | 1 | -6/+2 | |
| | | | | | | | | Analyzed by Sergey Kaplun. #1024 | |||||
* | | Fix maxslots when recording BC_TSETM. | Mike Pall | 2023-07-08 | 1 | -0/+2 | |
| | | | | | | | | Analyzed by Sergey Kaplun. #1025 | |||||
* | | Merge branch 'master' into v2.1 | Mike Pall | 2023-07-08 | 3 | -4/+5 | |
|\| | ||||||
| * | Fix maxslots when recording BC_VARG. | Mike Pall | 2023-07-08 | 1 | -2/+1 | |
| | | | | | | | | Analyzed by Sergey Kaplun. #1024 | |||||
| * | Fix register mask for stack check in head of side trace. | Mike Pall | 2023-07-08 | 1 | -1/+3 | |
| | | | | | | | | Analyzed by Sergey Kaplun. #1016 | |||||
| * | FFI: Fix ffi.metatype() for non-raw types. | Mike Pall | 2023-07-08 | 1 | -1/+1 | |
| | | | | | | | | Reported by 999pingGG. #1005 | |||||
* | | ARM64: Fix LDP code generation. | Mike Pall | 2023-07-08 | 1 | -1/+1 | |
| | | | | | | | | Thanks to Zhongwei Yao. #1028 | |||||
* | | Fix frame for on-trace out-of-memory error. | Mike Pall | 2023-06-02 | 1 | -0/+4 | |
| | | | | | | | | Reported by ruidong007. | |||||
* | | Merge branch 'master' into v2.1 | Mike Pall | 2023-06-02 | 2 | -3/+4 | |
|\| | ||||||
| * | Fix handling of instable types in TNEW/TDUP load forwarding. | Mike Pall | 2023-06-02 | 1 | -1/+2 | |
| | | | | | | | | Analyzed by Sergey Kaplun. #994 | |||||
| * | Fix compiler warning. | Mike Pall | 2023-06-02 | 1 | -1/+2 | |
| | | | | | | | | Reported by Myriachan. | |||||
* | | Fix last commit. | Mike Pall | 2023-04-30 | 1 | -0/+2 | |
| | | | | | | | | Reported by PluMGMK. | |||||
* | | Print errors from __gc finalizers instead of rethrowing them. | Mike Pall | 2023-04-16 | 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") | |||||
* | | Merge branch 'master' into v2.1 | Mike Pall | 2023-04-16 | 2 | -0/+8 | |
|\| | ||||||
| * | Fix TDUP load forwarding after table rehash. | Mike Pall | 2023-04-16 | 1 | -0/+6 | |
| | | | | | | | | Reported by Sergey Kaplun. #980 | |||||
| * | Fix canonicalization of +-0.0 keys for IR_NEWREF. | Mike Pall | 2023-04-16 | 1 | -0/+2 | |
| | | | | | | | | Reported by Sergey Kaplun. #981 | |||||
* | | Merge branch 'master' into v2.1 | Mike Pall | 2023-02-21 | 1 | -1/+1 | |
|\| | ||||||
| * | Improve error reporting on stack overflow. | Mike Pall | 2023-02-21 | 1 | -1/+1 | |
| | | | | | | | | Thanks to Nicolas Lebedenco. | |||||
* | | Merge branch 'master' into v2.1 | Mike Pall | 2023-02-21 | 1 | -5/+11 | |
|\| | ||||||
| * | Allow building sources with mixed LF/CRLF line-endings. | Mike Pall | 2023-02-21 | 1 | -4/+10 | |
| | | | | | | | | Reported by mgood7123. | |||||
* | | Fix compiler warning. | Mike Pall | 2023-01-04 | 1 | -2/+2 | |
| | | | | | | | | Reported by Christopher Ng. | |||||
* | | Don't fail for Clang builds, which pretend to be an ancient GCC. | Mike Pall | 2023-01-04 | 1 | -0/+6 | |
| | | | | | | | | Reported by pkubaj. | |||||
* | | Merge branch 'master' into v2.1 | Mike Pall | 2022-12-22 | 15 | -40/+43 | |
|\| | ||||||
| * | Avoid negation of signed integers in C that may hold INT*_MIN. | Mike Pall | 2022-12-22 | 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). | |||||
* | | Merge branch 'master' into v2.1 | Mike Pall | 2022-12-09 | 1 | -2/+2 | |
|\| | ||||||
| * | Correct fix for stack check when recording BC_VARG. | Mike Pall | 2022-12-09 | 1 | -2/+2 | |
| | | | | | | | | Reported by Yichun Zhang. | |||||
* | | Disable FMA by default. Use -Ofma or jit.opt.start("+fma") to enable. | Mike Pall | 2022-12-07 | 6 | -6/+27 | |
| | | | | | | | | See the discussion in #918 for the rationale. | |||||
* | | Merge branch 'master' into v2.1 | Mike Pall | 2022-12-07 | 2 | -0/+16 | |
|\| | ||||||
| * | FFI: Fix dangling reference to CType. Improve checks. | Mike Pall | 2022-12-07 | 2 | -0/+16 | |
| | | | | | | | | Reported by elmknot. | |||||
* | | ARM64: Fix code generation for IR_SLOAD with typecheck + conversion. | Mike Pall | 2022-12-01 | 1 | -1/+1 | |
| | | | | | | | | Reported by memcorrupt. | |||||
* | | PS4/PS5: Fix build scripts. | Mike Pall | 2022-11-27 | 2 | -4/+4 | |
| | | | | | | | | Thanks to Mathias Westerdahl. | |||||
* | | Avoid assertion in case of stack overflow from stitched trace. | Mike Pall | 2022-11-27 | 1 | -3/+6 | |
| | | | | | | | | Reported by Sergey Bronnikov. Fixed by Sergey Kaplun. | |||||
* | | NX: Always compile with -fPIC. | Mike Pall | 2022-11-22 | 1 | -0/+1 | |
| | | | | | | | | Suggested by Mathias Westerdahl. | |||||
* | | Merge branch 'master' into v2.1 | Mike Pall | 2022-11-09 | 1 | -0/+1 | |
|\| | ||||||
| * | Ensure correct stack top for OOM error message. | Mike Pall | 2022-11-09 | 1 | -0/+1 | |
| | | | | | | | | Reported by Sergey Kaplun. | |||||
* | | ARM64: Fix IR_SLOAD assembly. | Mike Pall | 2022-10-04 | 1 | -1/+1 | |
| | | | | | | | | Reported by Gate88. | |||||
* | | Fix trace join to BC_JLOOP originating from BC_ITERN. | Mike Pall | 2022-09-14 | 1 | -1/+2 | |
| | | | | | | | | Reported by OpenResty Inc. | |||||
* | | Fix compiler warnings. | Mike Pall | 2022-09-13 | 3 | -7/+7 | |
| | | | | | | | | Reported by gan74. | |||||
* | | Fix QNX build. | Mike Pall | 2022-09-12 | 3 | -1/+8 | |
| | | | | | | | | | | Note: this is not an officially supported target. Contributed by Wen Yang. | |||||
* | | Add -F option to override filename in jit.bcsave (luajit -b). | Mike Pall | 2022-08-15 | 1 | -7/+22 | |
| | | | | | | | | Suggested by Mathias Westerdahl. | |||||
* | | LJ_GC64: Fix lua_concat(). | Mike Pall | 2022-08-10 | 1 | -1/+1 | |
| | | | | | | | | Reported by Mathias Westerdahl. | |||||
* | | Merge branch 'master' into v2.1 | Mike Pall | 2022-08-07 | 2 | -2/+2 | |
|\| | ||||||
| * | Prevent use of RTLD_DEFAULT when NO_RTLD_DEFAULT is defined. | Mike Pall | 2022-08-07 | 2 | -2/+2 | |
| | | | | | | | | | | Workaround for Android 4.4 bug. Thanks to gudzpoz. | |||||
* | | Improve GC estimation for userdata with attached managed memory. | Mike Pall | 2022-07-28 | 1 | -0/+3 | |
| | | | | | | | | | | This works well for string.buffers, but not for userdata or cdata with attached unmanaged memory (malloc/free, mmap/munmap). | |||||
* | | Add missing GC steps to string buffer methods. | Mike Pall | 2022-07-28 | 1 | -0/+2 | |
| | | | | | | | | Reported by Cosmin Apreutesei. | |||||
* | | x86/x64: Limit VLOAD fusion to simple cases. | Mike Pall | 2022-07-27 | 1 | -1/+2 | |
| | | | | | | | | Reported by ccagml. | |||||
* | | OSX/iOS/ARM64: Fix generation of Mach-O object files. | Mike Pall | 2022-07-22 | 1 | -3/+3 | |
| | | | | | | | | Thanks to Carlo Cabrera. | |||||
* | | Prevent trace start at BC_ITERL after compiled BC_ITERN. | Mike Pall | 2022-07-21 | 1 | -0/+2 | |
| | | | | | | | | Reported by ccagml. | |||||
* | | ARM64: Allow building with unwinding disabled. | Mike Pall | 2022-07-19 | 1 | -0/+2 | |
| | | ||||||
* | | Merge branch 'master' into v2.1 | Mike Pall | 2022-07-13 | 4 | -3/+12 | |
|\| |