summaryrefslogtreecommitdiff
path: root/src/lj_record.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into v2.1Mike Pall2023-08-201-1/+1
|\
| * Bump copyright date.Mike Pall2023-08-201-1/+1
| |
* | Merge branch 'master' into v2.1Mike Pall2023-08-121-3/+9
|\|
| * Fix maxslots when recording BC_VARG, part 3.Mike Pall2023-08-121-3/+9
| | | | | | | | Thanks to Peter Cawley. #1046
* | Merge branch 'master' into v2.1Mike Pall2023-07-091-6/+2
|\|
| * Fix maxslots when recording BC_VARG, part 2.Mike Pall2023-07-091-6/+2
| | | | | | | | Analyzed by Sergey Kaplun. #1024
* | Fix maxslots when recording BC_TSETM.Mike Pall2023-07-081-0/+2
| | | | | | | | Analyzed by Sergey Kaplun. #1025
* | Merge branch 'master' into v2.1Mike Pall2023-07-081-2/+1
|\|
| * Fix maxslots when recording BC_VARG.Mike Pall2023-07-081-2/+1
| | | | | | | | Analyzed by Sergey Kaplun. #1024
* | Merge branch 'master' into v2.1Mike Pall2023-04-161-0/+2
|\|
| * Fix canonicalization of +-0.0 keys for IR_NEWREF.Mike Pall2023-04-161-0/+2
| | | | | | | | Reported by Sergey Kaplun. #981
* | Merge branch 'master' into v2.1Mike Pall2022-12-091-2/+2
|\|
| * Correct fix for stack check when recording BC_VARG.Mike Pall2022-12-091-2/+2
| | | | | | | | Reported by Yichun Zhang.
* | Fix trace join to BC_JLOOP originating from BC_ITERN.Mike Pall2022-09-141-1/+2
| | | | | | | | Reported by OpenResty Inc.
* | Fix compiler warnings.Mike Pall2022-09-131-1/+1
| | | | | | | | Reported by gan74.
* | Prevent trace start at BC_ITERL after compiled BC_ITERN.Mike Pall2022-07-211-0/+2
| | | | | | | | Reported by ccagml.
* | LJ_GC64: Fix IR_VARG offset for fixed number of results.Mike Pall2022-07-121-1/+1
| | | | | | | | Reported by George Vaintrub. Fixed by Sergey Kaplun.
* | Fix ITERN loop detection when hook checks are enabled.Mike Pall2022-06-021-5/+10
| | | | | | | | Reported by Myria.
* | Fix loop initialization in table.foreach().Mike Pall2022-05-201-0/+1
| | | | | | | | Reported by Daniel Steinberg.
* | LJ_GC64: Fix HREFK optimization.Mike Pall2022-05-031-4/+4
| | | | | | | | Contributed by XmiliaH.
* | Fix recording of __concat metamethod.Mike Pall2022-05-021-1/+1
| | | | | | | | Reported by Elias Oelschner. Analyzed by XmiliaH.
* | Add missing check for LJ_KEYINDEX in ITERN recording.Mike Pall2022-04-021-1/+2
| | | | | | | | Reported by dragonorloong. Analyzed by vfprintf. #827
* | Revert to trival pow() optimizations to prevent inaccuracies.Mike Pall2022-03-081-1/+1
| |
* | Prevent unroll across BC_ITERN.Mike Pall2022-01-161-0/+1
| | | | | | | | Reported by Marukyu.
* | Merge branch 'master' into v2.1Mike Pall2022-01-151-1/+1
|\|
| * Bump copyright date.Mike Pall2022-01-151-1/+1
| |
* | Fix interaction of profiler and ITERN recording.Mike Pall2021-10-081-1/+3
| | | | | | | | Reported and analyzed by vfprintf. #754
* | Ensure ITERN forward progress on interpreter bailout.Mike Pall2021-09-211-3/+6
| | | | | | | | Reported by Yichun Zhang and ExtReMLapin. #744
* | Don't bail out to interpreter to JLOOP originating from ITERN.Mike Pall2021-09-201-3/+5
| | | | | | | | | | Otherwise forward progress is not guaranteed. Reported by Yichun Zhang.
* | Compile table traversals: next(), pairs(), BC_ISNEXT/BC_ITERN.Mike Pall2021-09-191-5/+125
| | | | | | | | Sponsored by OpenResty Inc.
* | Refactor IR_VLOAD to take an offset.Mike Pall2021-09-191-6/+4
| |
* | String buffers, part 3d: Compile string buffer methods and functions.Mike Pall2021-07-191-0/+10
| | | | | | | | Sponsored by fmad.io.
* | String buffers, part 3a: Add IR_TMPREF for passing TValues to helpers.Mike Pall2021-07-191-5/+10
| | | | | | | | Sponsored by fmad.io.
* | Prevent compile of __concat with tailcall to fast function.Mike Pall2021-04-211-0/+3
| | | | | | | | | | E.g. __concat = function() return setmetatable(...) end Reported by Fezile Manana.
* | Handle on-trace OOM errors from helper functions.Mike Pall2021-03-231-1/+2
| |
* | Use weak guards for on-trace allocations.Mike Pall2021-03-231-2/+2
| |
* | Merge branch 'master' into v2.1Mike Pall2021-01-021-1/+1
|\|
| * Bump copyright date.Mike Pall2021-01-021-1/+1
| |
* | Merge branch 'master' into v2.1Mike Pall2020-10-121-4/+5
|\|
| * Fix snapshot PC when linking to BC_JLOOP that was a BC_RET*.Mike Pall2020-10-121-4/+5
| | | | | | | | | | Reported by Arseny Vakhrushev. Fix contributed by Peter Cawley.
* | LJ_GC64: Always snapshot functions for non-base frames.Mike Pall2020-08-271-0/+1
| | | | | | | | | | Reported by Arseny Vakhrushev. Analysis and fix contributed by Peter Cawley.
* | Use a securely seeded global PRNG for the VM.Mike Pall2020-06-151-1/+2
| | | | | | | | It's not 2005 anymore.
* | ARM: Implement FLOAD from GG_State.Mike Pall2020-06-131-5/+0
| |
* | Improve assertions.Mike Pall2020-06-151-64/+98
| |
* | Optimize table length computation with hinting.Mike Pall2020-05-271-2/+2
| | | | | | | | 10x faster on loop with t[#t+1] = x idiom. Also used by table.insert.
* | Merge branch 'master' into v2.1Mike Pall2020-01-201-1/+1
|\|
| * Bump copyright date.Mike Pall2020-01-201-1/+1
| |
* | Merge branch 'master' into v2.1Mike Pall2019-12-081-0/+2
|\|
| * Fix stack check when recording BC_VARG.Mike Pall2019-12-081-0/+2
| | | | | | | | Contributed by Yichun Zhang.
* | Actually implement maxirconst trace limit.Mike Pall2018-10-141-2/+3
| | | | | | | | Suggested by spacewander.