summaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Switch build system to rolling releases.v2.0.ROLLINGMike Pall2023-08-2111-16/+68
|
* Bump copyright date.Mike Pall2023-08-20146-147/+147
|
* Fix maxslots when recording BC_VARG, part 3.Mike Pall2023-08-121-3/+9
| | | | Thanks to Peter Cawley. #1046
* Fix predict_next() in parser.Mike Pall2023-08-121-0/+1
| | | | Reported by Sergey Kaplun. #1033
* Fix base register coalescing in side trace.Mike Pall2023-07-125-17/+21
| | | | Thanks to Sergey Kaplun, NiLuJe and Peter Cawley. #1031 #1016
* Fix maxslots when recording BC_VARG, part 2.Mike Pall2023-07-091-6/+2
| | | | Analyzed by Sergey Kaplun. #1024
* 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
* 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 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
* Improve error reporting on stack overflow.Mike Pall2023-02-211-1/+1
| | | | Thanks to Nicolas Lebedenco.
* Allow building sources with mixed LF/CRLF line-endings.Mike Pall2023-02-211-4/+10
| | | | Reported by mgood7123.
* 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).
* Correct fix for stack check when recording BC_VARG.Mike Pall2022-12-091-2/+2
| | | | Reported by Yichun Zhang.
* FFI: Fix dangling reference to CType. Improve checks.Mike Pall2022-12-072-0/+16
| | | | Reported by elmknot.
* Ensure correct stack top for OOM error message.Mike Pall2022-11-091-0/+1
| | | | Reported by Sergey Kaplun.
* Prevent use of RTLD_DEFAULT when NO_RTLD_DEFAULT is defined.Mike Pall2022-08-072-2/+2
| | | | | Workaround for Android 4.4 bug. Thanks to gudzpoz.
* FFI: Fix sizeof expression in C parser for reference types.Mike Pall2022-07-131-1/+1
|
* FFI: Fix ffi.alignof() for reference types.Mike Pall2022-07-133-1/+10
| | | | Reported by Eric Gouyer.
* FFI: Allow ffi.metatype() for typedefs with attributes.Mike Pall2022-07-131-1/+1
| | | | Reported by Eric Gouyer.
* x86/x64: Fix math.ceil(-0.9) result sign.Mike Pall2022-07-081-7/+6
| | | | Reported by minoki.
* Fix warnings in minilua.c.Mike Pall2022-06-082-2/+10
|
* Prevent C compiler undefined-behavior optimization.Mike Pall2022-05-211-1/+1
|
* Fix assertions.Mike Pall2022-04-171-3/+0
| | | | Reported by ssdr.
* Fix BC_UCLO insertion for returns.Mike Pall2022-03-131-1/+1
| | | | Contributed by XmiliaH.
* Fix command-line argv handling.Mike Pall2022-01-271-11/+11
|
* Don't export internal symbol.Mike Pall2022-01-251-1/+1
|
* Always exit after machine code page protection change fails.Mike Pall2022-01-231-1/+2
| | | | Reported by Sergey Kaplun.
* Save trace recorder state around VM event call.Mike Pall2022-01-161-1/+5
| | | | Reported by Sergey Kaplun.
* Bump copyright date.Mike Pall2022-01-15146-147/+147
|
* Limit exponent range in number parsing.Mike Pall2022-01-131-1/+4
| | | | Reported by XmiliaH.
* Fix tonumber("-0") in dual-number mode.Mike Pall2022-01-131-2/+6
| | | | Reported by Sergey Kaplun.
* Limit work done in SINK pass.Mike Pall2022-01-131-4/+12
| | | | Reported by XmiliaH.
* Fix ABC FOLD rule with constants.Mike Pall2022-01-131-2/+3
| | | | Reported by XmiliaH.
* Prevent CSE of a REF_BASE operand across IR_RETF.Mike Pall2021-12-191-0/+11
| | | | Reported by XmiliaH.
* Fix FOLD rule for x-0.Mike Pall2021-12-171-2/+1
| | | | Reported by XmiliaH.
* MIPS: Fix register allocation in assembly of HREF.Mike Pall2021-10-021-3/+5
| | | | Reported by Jakub Piotr Cłapa.
* Fix stack allocation after on-trace stack check.Mike Pall2021-09-211-1/+5
|
* FFI: Don't load PC from non-function object in FFI continuation.Mike Pall2021-09-203-3/+3
| | | | Reported by Yichun Zhang. #743
* FFI: Fix missing cts->L initialization in argv2ctype().Mike Pall2021-09-201-1/+1
|
* Consider slots used by upvalues in use-def analysis.Mike Pall2021-07-271-3/+32
| | | | Reported by XmiliaH.
* Prevent loop in snap_usedef().Mike Pall2021-07-231-1/+6
| | | | Reported by XmiliaH.
* Fix io.close() error message.Mike Pall2021-07-221-2/+8
| | | | Reported by François Perrad.
* Fix io.close().Mike Pall2021-07-221-9/+11
| | | | Reported by farmboy0.
* Fix minilua vararg stack handling.Mike Pall2021-07-211-1/+1
| | | | | | | | | | Note: this is not exploitable! minilua is only used during the LuaJIT build process. It only runs controlled and static Lua code (DynASM), which is entirely contained within this repo. LuaJIT itself has completely different stack handling code and is not affected either. This change is solely for the benefit of others, who might possibly use minilua for purposes other than running DynASM.
* Avoid out-of-range number of results when compiling select(k, ...).Mike Pall2021-07-191-1/+1
| | | | The interpreter will throw and abort the trace, anyway.
* Fix jit.dump() output for IR_CONV.Mike Pall2021-07-191-1/+1
|