Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't bail out to interpreter to JLOOP originating from ITERN. | Mike Pall | 2021-09-20 | 1 | -3/+5 |
| | | | | | Otherwise forward progress is not guaranteed. Reported by Yichun Zhang. | ||||
* | FFI: Don't load PC from non-function object in FFI continuation. | Mike Pall | 2021-09-20 | 2 | -2/+2 |
| | | | | Reported by Yichun Zhang. #743 | ||||
* | Merge branch 'master' into v2.1 | Mike Pall | 2021-09-20 | 4 | -4/+4 |
|\ | |||||
| * | FFI: Don't load PC from non-function object in FFI continuation. | Mike Pall | 2021-09-20 | 3 | -3/+3 |
| | | | | | | | | Reported by Yichun Zhang. #743 | ||||
| * | FFI: Fix missing cts->L initialization in argv2ctype(). | Mike Pall | 2021-09-20 | 1 | -1/+1 |
| | | |||||
* | | OSX/ARM64: Disable external unwinding for now. | Mike Pall | 2021-09-19 | 1 | -1/+4 |
| | | | | | | | | | | | | This reduces functionality, e.g. no handling of on-trace errors. Someone with very deep knowledge about macOS and MACH-O/DWARF stack unwinding internals is needed to fix this. See issue #698. | ||||
* | | Compile table traversals: next(), pairs(), BC_ISNEXT/BC_ITERN. | Mike Pall | 2021-09-19 | 27 | -47/+781 |
| | | | | | | | | Sponsored by OpenResty Inc. | ||||
* | | Use IR_HIOP for generalized two-register returns. | Mike Pall | 2021-09-19 | 8 | -96/+84 |
| | | | | | | | | Sponsored by OpenResty Inc. | ||||
* | | Refactor table traversal. | Mike Pall | 2021-09-19 | 12 | -207/+153 |
| | | | | | | | | Sponsored by OpenResty Inc. | ||||
* | | ARM: Fix symbol display in trace disassembly. | Mike Pall | 2021-09-19 | 1 | -0/+2 |
| | | |||||
* | | Refactor IR_TMPREF generation. | Mike Pall | 2021-09-19 | 1 | -17/+16 |
| | | |||||
* | | Refactor IR_VLOAD to take an offset. | Mike Pall | 2021-09-19 | 9 | -13/+19 |
| | | |||||
* | | MIPS: Fix trace linking. | Mike Pall | 2021-09-19 | 6 | -3/+33 |
| | | |||||
* | | String buffers, part 4b: Improve de-serialization checks. | Mike Pall | 2021-08-12 | 1 | -3/+13 |
| | | | | | | | | Sponsored by fmad.io. | ||||
* | | String buffers, part 4a: Add metatable serialization dictionary. | Mike Pall | 2021-08-12 | 5 | -24/+88 |
| | | | | | | | | Sponsored by fmad.io. | ||||
* | | Merge branch 'master' into v2.1 | Mike Pall | 2021-07-27 | 1 | -3/+32 |
|\| | |||||
| * | Consider slots used by upvalues in use-def analysis. | Mike Pall | 2021-07-27 | 1 | -3/+32 |
| | | | | | | | | Reported by XmiliaH. | ||||
* | | Merge branch 'master' into v2.1 | Mike Pall | 2021-07-23 | 1 | -1/+6 |
|\| | |||||
| * | Prevent loop in snap_usedef(). | Mike Pall | 2021-07-23 | 1 | -1/+6 |
| | | | | | | | | Reported by XmiliaH. | ||||
* | | Merge branch 'master' into v2.1 | Mike Pall | 2021-07-22 | 1 | -2/+8 |
|\| | |||||
| * | Fix io.close() error message. | Mike Pall | 2021-07-22 | 1 | -2/+8 |
| | | | | | | | | Reported by François Perrad. | ||||
* | | Merge branch 'master' into v2.1 | Mike Pall | 2021-07-22 | 1 | -9/+11 |
|\| | |||||
| * | Fix io.close(). | Mike Pall | 2021-07-22 | 1 | -9/+11 |
| | | | | | | | | Reported by farmboy0. | ||||
* | | Merge branch 'master' into v2.1 | Mike Pall | 2021-07-21 | 1 | -1/+1 |
|\| | |||||
| * | Fix minilua vararg stack handling. | Mike Pall | 2021-07-21 | 1 | -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. | ||||
* | | PS4: Fix compile. | Mike Pall | 2021-07-19 | 1 | -1/+1 |
| | | | | | | | | Thanks to Eric Lavesson. | ||||
* | | Merge branch 'master' into v2.1 | Mike Pall | 2021-07-19 | 1 | -1/+1 |
|\| | |||||
| * | Avoid out-of-range number of results when compiling select(k, ...). | Mike Pall | 2021-07-19 | 1 | -1/+1 |
| | | | | | | | | The interpreter will throw and abort the trace, anyway. | ||||
* | | String buffers, part 3d: Compile string buffer methods and functions. | Mike Pall | 2021-07-19 | 18 | -87/+625 |
| | | | | | | | | Sponsored by fmad.io. | ||||
* | | Minor improvements of optimizations. | Mike Pall | 2021-07-19 | 2 | -1/+17 |
| | | |||||
* | | Fix error message in lj_lib_checkintrange(). | Mike Pall | 2021-07-19 | 1 | -0/+2 |
| | | |||||
* | | String buffers, part 2f: Prevent self-put of buffer. | Mike Pall | 2021-07-19 | 3 | -1/+6 |
| | | | | | | | | Sponsored by fmad.io. | ||||
* | | String buffers, part 3c: Add IRBUFHDR_WRITE mode. | Mike Pall | 2021-07-19 | 14 | -5/+112 |
| | | | | | | | | Sponsored by fmad.io. | ||||
* | | Fix IRXLOAD_* mode bits description. | Mike Pall | 2021-07-19 | 1 | -4/+4 |
| | | |||||
* | | String buffers, part 3b: Change IR_BUFHDR op2 mode bits to mode. | Mike Pall | 2021-07-19 | 2 | -13/+19 |
| | | | | | | | | Sponsored by fmad.io. | ||||
* | | String buffers, part 3a: Add IR_TMPREF for passing TValues to helpers. | Mike Pall | 2021-07-19 | 12 | -125/+249 |
| | | | | | | | | Sponsored by fmad.io. | ||||
* | | Add IRCONV_NONE for pass-through INT to I64/U64 type change. | Mike Pall | 2021-07-19 | 5 | -4/+7 |
| | | |||||
* | | Merge branch 'master' into v2.1 | Mike Pall | 2021-07-19 | 1 | -1/+1 |
|\| | |||||
| * | Fix jit.dump() output for IR_CONV. | Mike Pall | 2021-07-19 | 1 | -1/+1 |
| | | |||||
* | | Disable unreliable assertion for external frame unwinding. | Mike Pall | 2021-06-25 | 1 | -0/+2 |
| | | | | | | | | Broken on Fedora/ARM64. Reported by Yichun Zhang. | ||||
* | | Flush and close output file after profiling run. | Mike Pall | 2021-06-25 | 1 | -0/+1 |
| | | | | | | | | Thanks to Sergey Ostanevich. | ||||
* | | Avoid conflict between 64 bit lightuserdata and ITERN key. | Mike Pall | 2021-06-25 | 1 | -1/+2 |
| | | | | | | | | Reported by XmiliaH. | ||||
* | | Throw any errors before stack changes in trace stitching. | Mike Pall | 2021-06-14 | 1 | -0/+4 |
| | | | | | | | | Thanks to doujiang24. | ||||
* | | String buffers, part 2e: add serialization string dictionary. | Mike Pall | 2021-06-07 | 9 | -58/+151 |
| | | | | | | | | Sponsored by fmad.io. | ||||
* | | Fix MinGW static build. | Mike Pall | 2021-06-03 | 1 | -1/+2 |
| | | | | | | | | Reported by Sundaram Ramaswamy. | ||||
* | | Fix dependencies. | Mike Pall | 2021-06-03 | 1 | -1/+1 |
| | | |||||
* | | Fix IR_BUFHDR assembly. | Mike Pall | 2021-06-03 | 1 | -3/+4 |
| | | |||||
* | | FFI: Support FFI numbers in string.format() and buf:putf(). | Mike Pall | 2021-06-03 | 4 | -6/+47 |
| | | |||||
* | | ARM64: More improvements to the generation of immediates. | Mike Pall | 2021-06-03 | 3 | -16/+12 |
| | | |||||
* | | String buffers, part 2d: basic string buffer methods. | Mike Pall | 2021-06-01 | 17 | -29/+409 |
| | | | | | | | | Sponsored by fmad.io. |