aboutsummaryrefslogtreecommitdiff
path: root/src/lj_ffrecord.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Backport some v3.0 syntax extensions.Mike Pall2026-06-221-1/+1
| | | | See discussion in: #1476
* Merge branch 'master' into v2.1Mike Pall2026-03-041-3/+3
|\
| * Fix edge cases when recording string.byte/sub.Mike Pall2026-03-041-3/+3
| | | | | | | | Thanks to Sergey Kaplun. #1443
* | Merge branch 'master' into v2.1Mike Pall2026-01-091-1/+1
|\|
| * Bump copyright date.Mike Pall2026-01-091-1/+1
| |
* | Unify Lua number to FFI integer conversions.Mike Pall2025-11-271-2/+2
| | | | | | | | Phew. #1411
* | Merge branch 'master' into v2.1Mike Pall2025-11-141-4/+4
|\|
| * Fix edge cases when generating IR for string.byte/sub/find.Mike Pall2025-11-141-3/+3
| | | | | | | | Contributed by XmiliaH. #1407
* | Merge branch 'master' into v2.1Mike Pall2025-01-131-1/+1
|\|
| * Bump copyright date.Mike Pall2025-01-131-1/+1
| |
* | Merge branch 'master' into v2.1Mike Pall2024-08-241-1/+1
|\|
| * Always use IRT_NIL for IR_TBAR.Mike Pall2024-08-241-1/+1
| | | | | | | | Thanks to Peter Cawley. #1258
* | Limit number of string format elements to compile.Mike Pall2024-05-251-0/+2
| | | | | | | | Reported by pwnhacker0x18. #1203
* | Use generic trace error for OOM during trace stitching.Mike Pall2024-04-181-0/+2
| | | | | | | | Thanks to Sergey Kaplun. #1166
* | Handle all types of errors during trace stitching.Mike Pall2024-03-101-5/+16
| | | | | | | | Thanks to Sergey Kaplun and Peter Cawley. #1166 #720
* | Fix anchoring for string buffer set() method (again).Mike Pall2023-12-101-7/+4
| | | | | | | | Thanks to Peter Cawley. #1125
* | Fix anchoring for string buffer set() method.Mike Pall2023-12-101-0/+9
| | | | | | | | Thanks to Peter Cawley. #1125
* | Optimize table.new() with constant args to (sinkable) IR_TNEW.Mike Pall2023-12-101-0/+9
| | | | | | | | Thanks to Peter Cawley. #1128
* | Consistently use 64 bit constants for 64 bit IR instructions.Mike Pall2023-09-211-12/+11
| | | | | | | | Thanks to Peter Cawley. #1084
* | Merge branch 'master' into v2.1Mike Pall2023-08-201-1/+1
|\|
| * Bump copyright date.Mike Pall2023-08-201-1/+1
| |
* | Fix compiler warnings.Mike Pall2022-09-131-2/+2
| | | | | | | | Reported by gan74.
* | Revert to trival pow() optimizations to prevent inaccuracies.Mike Pall2022-03-081-2/+2
| |
* | Fix compiled error handling for buffer methods.Mike Pall2022-01-231-6/+14
| | | | | | | | Contributed by XmiliaH.
* | Merge branch 'master' into v2.1Mike Pall2022-01-151-1/+1
|\|
| * Bump copyright date.Mike Pall2022-01-151-1/+1
| |
* | Fix string buffer method recording.Mike Pall2021-10-121-0/+1
| | | | | | | | Reported and analyzed by vfprintf. #755
* | Fix compilation of multi-result call to next().Mike Pall2021-10-061-1/+1
| | | | | | | | Thanks to Vyacheslav Egorov.
* | Compile table traversals: next(), pairs(), BC_ISNEXT/BC_ITERN.Mike Pall2021-09-191-0/+34
| | | | | | | | Sponsored by OpenResty Inc.
* | Refactor IR_TMPREF generation.Mike Pall2021-09-191-17/+16
| |
* | Refactor IR_VLOAD to take an offset.Mike Pall2021-09-191-2/+2
| |
* | Merge branch 'master' into v2.1Mike Pall2021-07-191-1/+1
|\|
| * 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.
* | String buffers, part 3d: Compile string buffer methods and functions.Mike Pall2021-07-191-10/+335
| | | | | | | | Sponsored by fmad.io.
* | Throw any errors before stack changes in trace stitching.Mike Pall2021-06-141-0/+4
| | | | | | | | Thanks to doujiang24.
* | FFI: Support FFI numbers in string.format() and buf:putf().Mike Pall2021-06-031-1/+10
| |
* | Handle on-trace OOM errors from helper functions.Mike Pall2021-03-231-0/+2
| |
* | Use weak guards for on-trace allocations.Mike Pall2021-03-231-15/+15
| |
* | Merge branch 'master' into v2.1Mike Pall2021-01-021-1/+1
|\|
| * Bump copyright date.Mike Pall2021-01-021-1/+1
| |
* | Use a securely seeded global PRNG for the VM.Mike Pall2020-06-151-1/+1
| | | | | | | | It's not 2005 anymore.
* | ARM: Implement FLOAD from GG_State.Mike Pall2020-06-131-6/+0
| |
* | Optimize table length computation with hinting.Mike Pall2020-05-271-3/+3
| | | | | | | | 10x faster on loop with t[#t+1] = x idiom. Also used by table.insert.
* | Cleanup math function compilation and fix inconsistencies.Mike Pall2020-05-221-17/+2
| |
* | Don't compile math.modf() anymore.Mike Pall2020-05-221-16/+0
| | | | | | | | It's rarely used and properly compiling it would be difficult.
* | Merge branch 'master' into v2.1Mike Pall2020-01-201-1/+1
|\|
| * Bump copyright date.Mike Pall2020-01-201-1/+1
| |
* | Fix string.char() recording with no arguments.Mike Pall2020-01-141-0/+2
| |
* | Properly fix pointer diff in string.find().Mike Pall2019-12-211-2/+2
| | | | | | | | Thanks to Vyacheslav Egorov.
* | Don't use STRREF for pointer diff in string.find().Mike Pall2019-12-081-1/+2
| | | | | | | | Thanks to Sergey Ostanevich and Vyacheslav Egorov.