summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix TDUP load forwarding after table rehash.HEADv2.0masterMike 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.
* Clarify contact page.Mike Pall2022-11-141-0/+7
|
* Ensure correct stack top for OOM error message.Mike Pall2022-11-091-0/+1
| | | | Reported by Sergey Kaplun.
* Fix last edit.Mike Pall2022-09-131-1/+0
|
* Remove dead Wiki links.Mike Pall2022-09-1313-27/+0
| | | | The lost content may be resurrected later.
* Patch luajit.pc with INSTALL_INC, if customized.Mike Pall2022-08-151-1/+5
| | | | Suggested by Henrique Bucher.
* 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.
* Grammar and spell check.Mike Pall2022-06-2311-72/+72
|
* Fix warnings in minilua.c.Mike Pall2022-06-082-2/+10
|
* Update console build instructions.Mike Pall2022-06-081-28/+36
|
* Prevent C compiler undefined-behavior optimization.Mike Pall2022-05-211-1/+1
|
* Cleanup of system and architecture support docs.Mike Pall2022-04-181-65/+183
|
* 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 install docs for Android.Mike Pall2022-03-071-1/+1
| | | | Thanks to GuDzpoz.
* 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-15176-193/+193
|
* 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.
* Update Android build docs.Mike Pall2021-11-131-1/+2
|
* MIPS: Fix register allocation in assembly of HREF.Mike Pall2021-10-021-3/+5
| | | | Reported by Jakub Piotr Cłapa.
* Windows/x64: Document MSVC flags for C++ exception interoperability.Mike Pall2021-09-241-1/+3
| | | | Suggested by Julien Cugnière.
* 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
|
* DynASM/x86: Add missing escape in pattern.Mike Pall2021-06-081-1/+1
|