luau/CodeGen/include/Luau
Andy Friesen e25b0a6275
Sync to upstream/release/591 (#1012)
* Fix a use-after-free bug in the new type cloning algorithm
* Tighten up the type of `coroutine.wrap`. It is now `<A..., R...>(f:
(A...) -> R...) -> ((A...) -> R...)`
* Break `.luaurc` out into a separate library target `Luau.Config`. This
makes it easier for applications to reason about config files without
also depending on the type inference engine.
* Move typechecking limits into `FrontendOptions`. This allows embedders
more finely-grained control over autocomplete's internal time limits.
* Fix stability issue with debugger onprotectederror callback allowing
break in non-yieldable contexts

New solver:

* Initial work toward [Local Type
Inference](0e1082108f/rfcs/local-type-inference.md)
* Introduce a new subtyping test. This will be much nicer than the old
test because it is completely separate both from actual type inference
and from error reporting.

Native code generation:

* Added function to compute iterated dominance frontier
* Optimize barriers in SET_UPVALUE when tag is known
* Cache lua_State::global in a register on A64
* Optimize constant stores in A64 lowering
* Track table array size state to optimize array size checks
* Add split tag/value store into a VM register
* Check that spills can outlive the block only in specific conditions

---------

Co-authored-by: Arseny Kapoulkine <arseny.kapoulkine@gmail.com>
Co-authored-by: Vyacheslav Egorov <vegorov@roblox.com>
2023-08-18 11:15:41 -07:00
..
AddressA64.h Sync to upstream/release/580 (#951) 2023-06-09 10:08:00 -07:00
AssemblyBuilderA64.h Sync to upstream/release/578 (#939) 2023-05-25 14:36:34 -07:00
AssemblyBuilderX64.h Sync to upstream/release/581 (#958) 2023-06-16 10:35:18 -07:00
CodeAllocator.h Sync to upstream/release/590 (#1008) 2023-08-11 07:42:37 -07:00
CodeBlockUnwind.h Sync to upstream/release/576 (#928) 2023-05-12 10:50:47 -07:00
CodeGen.h Sync to upstream/release/590 (#1008) 2023-08-11 07:42:37 -07:00
ConditionA64.h Sync to upstream/release/573 (#903) 2023-04-21 15:14:26 -07:00
ConditionX64.h Sync to upstream/release/590 (#1008) 2023-08-11 07:42:37 -07:00
IrAnalysis.h Sync to upstream/release/591 (#1012) 2023-08-18 11:15:41 -07:00
IrBuilder.h Sync to upstream/release/584 (#977) 2023-07-14 11:08:53 -07:00
IrCallWrapperX64.h Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00
IrData.h Sync to upstream/release/591 (#1012) 2023-08-18 11:15:41 -07:00
IrDump.h Sync to upstream/release/581 (#958) 2023-06-16 10:35:18 -07:00
IrRegAllocX64.h Sync to upstream/release/583 (#974) 2023-07-07 13:10:48 -07:00
IrUtils.h Sync to upstream/release/591 (#1012) 2023-08-18 11:15:41 -07:00
Label.h Sync to upstream/release/529 (#505) 2022-05-26 15:08:16 -07:00
OperandX64.h Sync to upstream/release/566 (#853) 2023-03-03 12:21:14 -08:00
OptimizeConstProp.h Sync to upstream/release/574 (#910) 2023-04-28 12:55:13 -07:00
OptimizeFinalX64.h Sync to upstream/release/563 (#833) 2023-02-10 11:40:38 -08:00
RegisterA64.h Sync to upstream/release/574 (#910) 2023-04-28 12:55:13 -07:00
RegisterX64.h Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00
UnwindBuilder.h Sync to upstream/release/575 (#919) 2023-05-05 14:52:49 -07:00
UnwindBuilderDwarf2.h Sync to upstream/release/575 (#919) 2023-05-05 14:52:49 -07:00
UnwindBuilderWin.h Sync to upstream/release/575 (#919) 2023-05-05 14:52:49 -07:00