aboutsummaryrefslogtreecommitdiff
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-09-19Refactor IR_TMPREF generation.Mike Pall1-17/+16
2021-09-19Refactor IR_VLOAD to take an offset.Mike Pall9-13/+19
2021-09-19MIPS: Fix trace linking.Mike Pall6-3/+33
2021-08-12String buffers, part 4b: Improve de-serialization checks.Mike Pall1-3/+13
Sponsored by fmad.io.
2021-08-12String buffers, part 4a: Add metatable serialization dictionary.Mike Pall6-41/+116
Sponsored by fmad.io.
2021-07-27Consider slots used by upvalues in use-def analysis.Mike Pall1-3/+32
Reported by XmiliaH.
2021-07-23Prevent loop in snap_usedef().Mike Pall1-1/+6
Reported by XmiliaH.
2021-07-22Fix io.close() error message.Mike Pall1-2/+8
Reported by François Perrad.
2021-07-22Fix io.close().Mike Pall1-9/+11
Reported by farmboy0.
2021-07-21Fix minilua vararg stack handling.Mike Pall1-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.
2021-07-19PS4: Fix compile.Mike Pall1-1/+1
Thanks to Eric Lavesson.
2021-07-19Avoid out-of-range number of results when compiling select(k, ...).Mike Pall1-1/+1
The interpreter will throw and abort the trace, anyway.
2021-07-19String buffers, part 3d: Compile string buffer methods and functions.Mike Pall18-87/+625
Sponsored by fmad.io.
2021-07-19Minor improvements of optimizations.Mike Pall2-1/+17
2021-07-19Fix error message in lj_lib_checkintrange().Mike Pall1-0/+2
2021-07-19String buffers, part 2f: Prevent self-put of buffer.Mike Pall3-1/+6
Sponsored by fmad.io.
2021-07-19String buffers, part 3c: Add IRBUFHDR_WRITE mode.Mike Pall14-5/+112
Sponsored by fmad.io.
2021-07-19Fix IRXLOAD_* mode bits description.Mike Pall1-4/+4
2021-07-19String buffers, part 3b: Change IR_BUFHDR op2 mode bits to mode.Mike Pall2-13/+19
Sponsored by fmad.io.
2021-07-19String buffers, part 3a: Add IR_TMPREF for passing TValues to helpers.Mike Pall12-125/+249
Sponsored by fmad.io.
2021-07-19Add IRCONV_NONE for pass-through INT to I64/U64 type change.Mike Pall5-4/+7
2021-07-19Fix jit.dump() output for IR_CONV.Mike Pall1-1/+1
2021-06-25Disable unreliable assertion for external frame unwinding.Mike Pall1-0/+2
Broken on Fedora/ARM64. Reported by Yichun Zhang.
2021-06-25Flush and close output file after profiling run.Mike Pall1-0/+1
Thanks to Sergey Ostanevich.
2021-06-25Avoid conflict between 64 bit lightuserdata and ITERN key.Mike Pall1-1/+2
Reported by XmiliaH.
2021-06-14Throw any errors before stack changes in trace stitching.Mike Pall1-0/+4
Thanks to doujiang24.
2021-06-08DynASM/x86: Add missing escape in pattern.Mike Pall1-1/+1
2021-06-07Fix HTML.Mike Pall1-4/+3
2021-06-07String buffers, part 2e: add serialization string dictionary.Mike Pall10-65/+214
Sponsored by fmad.io.
2021-06-04DynASM/ARM64: Fix LSL/BFI* encoding with variable shifts.Mike Pall1-6/+8
Thanks to Dmitry Stogov.
2021-06-03Fix MinGW static build.Mike Pall1-1/+2
Reported by Sundaram Ramaswamy.
2021-06-03Fix dependencies.Mike Pall1-1/+1
2021-06-03Fix IR_BUFHDR assembly.Mike Pall1-3/+4
2021-06-03FFI: Support FFI numbers in string.format() and buf:putf().Mike Pall4-6/+47
2021-06-03ARM64: More improvements to the generation of immediates.Mike Pall3-16/+12
2021-06-01String buffers, part 2d: basic string buffer methods.Mike Pall18-82/+813
Sponsored by fmad.io.
2021-06-01String buffers, part 2c: abstract out string.format.Mike Pall4-89/+121
Sponsored by fmad.io.
2021-06-01Abstract out on-demand loading of FFI library.Mike Pall4-15/+13
2021-06-01String buffers, part 2b: Add extended string buffers. Use in serializer.Mike Pall6-98/+210
Sponsored by fmad.io.
2021-06-01String buffers, part 2a: internal SBuf reorg. Use full pointers.Mike Pall24-160/+153
Sponsored by fmad.io.
2021-06-01FFI: Fix dangling reference to CType.Mike Pall1-0/+2
2021-05-29PPC/PS3: Fix BC_ADD*/BC_SUB*.Mike Pall1-4/+4
Thanks to MaryWan1982.
2021-05-29Fix use-def analysis for vararg functions.Mike Pall1-2/+4
Reported by Shmuel Zeigerman.
2021-05-24Fix use-def analysis for BC_VARG.Mike Pall1-1/+3
Reported by Ryan Lucia.
2021-05-22DynASM/ARM64: Fix ADRP encoding with absolute address.Mike Pall1-1/+7
Thanks to Dmitry Stogov.
2021-05-17Fix compiler warnings.Mike Pall1-3/+1
2021-05-02DynASM: Bump version to 1.5.0.Mike Pall7-20/+20
2021-05-02DynASM/ARM64: Add .long expr. Add .quad/.addr expr + refs.Mike Pall2-23/+84
Suggested by Dmitry Stogov, Hao Sun and Nick Gasson.
2021-05-02DynASM/x86: Fix x64 .aword refs. Add .qword, .quad, .addr and .long.Mike Pall2-11/+55
Suggested by Dmitry Stogov.
2021-05-02FFI/ARM64/OSX: Fix vararg call handling.Mike Pall2-5/+5
Thanks to Igor Munkin.