aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* DynASM: Fix regression due to warning fix.Mike Pall2023-08-125-0/+5
| | | | Thanks to Dmitry Stogov. #1041 #970
* Merge branch 'master' into v2.1Mike Pall2023-07-126-21/+24
|\
| * Fix base register coalescing in side trace.Mike Pall2023-07-125-17/+21
| | | | | | | | Thanks to Sergey Kaplun, NiLuJe and Peter Cawley. #1031 #1016
* | ARM64: Fix assembly of HREFK.Mike Pall2023-07-091-1/+1
| | | | | | | | | | Reported by caohongqing. #1026 Fix contributed by Peter Cawley.
* | Merge branch 'master' into v2.1Mike Pall2023-07-091-6/+2
|\|
| * Fix maxslots when recording BC_VARG, part 2.Mike Pall2023-07-091-6/+2
| | | | | | | | Analyzed by Sergey Kaplun. #1024
* | Fix maxslots when recording BC_TSETM.Mike Pall2023-07-081-0/+2
| | | | | | | | Analyzed by Sergey Kaplun. #1025
* | Merge branch 'master' into v2.1Mike Pall2023-07-083-4/+5
|\|
| * Fix maxslots when recording BC_VARG.Mike Pall2023-07-081-2/+1
| | | | | | | | Analyzed by Sergey Kaplun. #1024
| * Fix register mask for stack check in head of side trace.Mike Pall2023-07-081-1/+3
| | | | | | | | Analyzed by Sergey Kaplun. #1016
| * FFI: Fix ffi.metatype() for non-raw types.Mike Pall2023-07-081-1/+1
| | | | | | | | Reported by 999pingGG. #1005
* | ARM64: Fix LDP code generation.Mike Pall2023-07-081-1/+1
| | | | | | | | Thanks to Zhongwei Yao. #1028
* | MIPSr6: Add missing files to Makefile install target.Mike Pall2023-06-121-1/+3
| | | | | | | | Reported by FractalU.
* | DynASM: Fix warnings.Mike Pall2023-06-025-56/+26
| | | | | | | | Reported by Ilija Tovilo.
* | Fix frame for on-trace out-of-memory error.Mike Pall2023-06-021-0/+4
| | | | | | | | Reported by ruidong007.
* | Merge branch 'master' into v2.1Mike Pall2023-06-022-3/+4
|\|
| * Fix handling of instable types in TNEW/TDUP load forwarding.Mike Pall2023-06-021-1/+2
| | | | | | | | Analyzed by Sergey Kaplun. #994
| * Fix compiler warning.Mike Pall2023-06-021-1/+2
| | | | | | | | Reported by Myriachan.
* | Fix last commit.Mike Pall2023-04-301-0/+2
| | | | | | | | Reported by PluMGMK.
* | Print errors from __gc finalizers instead of rethrowing them.Mike Pall2023-04-164-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.1Mike Pall2023-04-162-0/+8
|\|
| * Fix TDUP load forwarding after table rehash.Mike Pall2023-04-161-0/+6
| | | | | | | | Reported by Sergey Kaplun. #980
| * Fix canonicalization of +-0.0 keys for IR_NEWREF.Mike Pall2023-04-161-0/+2
| | | | | | | | Reported by Sergey Kaplun. #981
* | Merge branch 'master' into v2.1Mike Pall2023-02-211-1/+1
|\|
| * Improve error reporting on stack overflow.Mike Pall2023-02-211-1/+1
| | | | | | | | Thanks to Nicolas Lebedenco.
* | Merge branch 'master' into v2.1Mike Pall2023-02-211-5/+11
|\|
| * Allow building sources with mixed LF/CRLF line-endings.Mike Pall2023-02-211-4/+10
| | | | | | | | Reported by mgood7123.
* | Fix compiler warning.Mike Pall2023-01-041-2/+2
| | | | | | | | Reported by Christopher Ng.
* | Don't fail for Clang builds, which pretend to be an ancient GCC.Mike Pall2023-01-041-0/+6
| | | | | | | | Reported by pkubaj.
* | Merge branch 'master' into v2.1Mike Pall2022-12-2215-40/+43
|\|
| * Avoid negation of signed integers in C that may hold INT*_MIN.Mike Pall2022-12-2212-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.1Mike Pall2022-12-091-2/+2
|\|
| * Correct fix for stack check when recording BC_VARG.Mike Pall2022-12-091-2/+2
| | | | | | | | Reported by Yichun Zhang.
* | Disable FMA by default. Use -Ofma or jit.opt.start("+fma") to enable.Mike Pall2022-12-077-6/+35
| | | | | | | | See the discussion in #918 for the rationale.
* | Merge branch 'master' into v2.1Mike Pall2022-12-072-0/+16
|\|
| * FFI: Fix dangling reference to CType. Improve checks.Mike Pall2022-12-072-0/+16
| | | | | | | | Reported by elmknot.
* | ARM64: Fix code generation for IR_SLOAD with typecheck + conversion.Mike Pall2022-12-011-1/+1
| | | | | | | | Reported by memcorrupt.
* | PS4/PS5: Fix build scripts.Mike Pall2022-11-272-4/+4
| | | | | | | | Thanks to Mathias Westerdahl.
* | Avoid assertion in case of stack overflow from stitched trace.Mike Pall2022-11-271-3/+6
| | | | | | | | Reported by Sergey Bronnikov. Fixed by Sergey Kaplun.
* | NX: Always compile with -fPIC.Mike Pall2022-11-221-0/+1
| | | | | | | | Suggested by Mathias Westerdahl.
* | Merge branch 'master' into v2.1Mike Pall2022-11-141-0/+7
|\|
| * Clarify contact page.Mike Pall2022-11-141-0/+7
| |
* | Merge branch 'master' into v2.1Mike Pall2022-11-091-0/+1
|\|
| * Ensure correct stack top for OOM error message.Mike Pall2022-11-091-0/+1
| | | | | | | | Reported by Sergey Kaplun.
* | ARM64: Fix IR_SLOAD assembly.Mike Pall2022-10-041-1/+1
| | | | | | | | Reported by Gate88.
* | Fix trace join to BC_JLOOP originating from BC_ITERN.Mike Pall2022-09-141-1/+2
| | | | | | | | Reported by OpenResty Inc.
* | Fix compiler warnings.Mike Pall2022-09-133-7/+7
| | | | | | | | Reported by gan74.
* | Merge branch 'master' into v2.1Mike Pall2022-09-131-1/+0
|\|
| * Fix last edit.Mike Pall2022-09-131-1/+0
| |
* | Merge branch 'master' into v2.1Mike Pall2022-09-1315-31/+0
|\|