luau/CodeGen/src
vegorov-rbx d141a5c48d
Sync to upstream/release/572 (#899)
* Fixed exported types not being suggested in autocomplete
* `T...` is now convertible to `...any` (Fixes
https://github.com/Roblox/luau/issues/767)
* Fixed issue with `T?` not being convertible to `T | T` or `T?`
(sometimes when internal pointer identity is different)
* Fixed potential crash in missing table key error suggestion to use a
similar existing key
* `lua_topointer` now returns a pointer for strings

C++ API Changes:
* `prepareModuleScope` callback has moved from TypeChecker to Frontend
* For LSPs, AstQuery functions (and `isWithinComment`) can be used
without full Frontend data

A lot of changes in our two experimental components as well.

In our work on the new type-solver, the following issues were fixed:
* Fixed table union and intersection indexing
* Correct custom type environments are now used
* Fixed issue with values of `free & number` type not accepted in
numeric operations

And these are the changes in native code generation (JIT):
* arm64 lowering is almost complete with support for 99% of IR commands
and all fastcalls
* Fixed x64 assembly encoding for extended byte registers
* More external x64 calls are aware of register allocator
* `math.min`/`math.max` with more than 2 arguments are now lowered to IR
as well
* Fixed correctness issues with `math` library calls with multiple
results in variadic context and with x64 register conflicts
* x64 register allocator learnt to restore values from VM memory instead
of always using stack spills
* x64 exception unwind information now supports multiple functions and
fixes function start offset in Dwarf2 info
2023-04-14 11:06:22 -07:00
..
AssemblyBuilderA64.cpp Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00
AssemblyBuilderX64.cpp Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00
BitUtils.h Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00
ByteUtils.h Sync to upstream/release/550 (#723) 2022-10-21 10:54:01 -07:00
CodeAllocator.cpp Sync to upstream/release/568 (#865) 2023-03-17 12:20:37 -07:00
CodeBlockUnwind.cpp Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00
CodeGen.cpp Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00
CodeGenA64.cpp Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00
CodeGenA64.h Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00
CodeGenUtils.cpp Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00
CodeGenUtils.h Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00
CodeGenX64.cpp Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00
CodeGenX64.h Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00
CustomExecUtils.h Sync to upstream/release/550 (#723) 2022-10-21 10:54:01 -07:00
EmitBuiltinsX64.cpp Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00
EmitBuiltinsX64.h Sync to upstream/release/566 (#853) 2023-03-03 12:21:14 -08:00
EmitCommon.h Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00
EmitCommonA64.h Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00
EmitCommonX64.cpp Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00
EmitCommonX64.h Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00
EmitInstructionX64.cpp Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00
EmitInstructionX64.h Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00
Fallbacks.cpp Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00
Fallbacks.h Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00
FallbacksProlog.h Sync to upstream/release/546 (#681) 2022-09-23 12:17:25 -07:00
IrAnalysis.cpp Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00
IrBuilder.cpp Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00
IrCallWrapperX64.cpp Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00
IrDump.cpp Sync to upstream/release/571 (#895) 2023-04-07 14:01:29 -07:00
IrLoweringA64.cpp Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00
IrLoweringA64.h Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00
IrLoweringX64.cpp Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00
IrLoweringX64.h Sync to upstream/release/571 (#895) 2023-04-07 14:01:29 -07:00
IrRegAllocA64.cpp Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00
IrRegAllocA64.h Sync to upstream/release/571 (#895) 2023-04-07 14:01:29 -07:00
IrRegAllocX64.cpp Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00
IrTranslateBuiltins.cpp Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00
IrTranslateBuiltins.h Sync to upstream/release/565 (#845) 2023-02-24 13:49:38 -08:00
IrTranslation.cpp Sync to upstream/release/571 (#895) 2023-04-07 14:01:29 -07:00
IrTranslation.h Sync to upstream/release/571 (#895) 2023-04-07 14:01:29 -07:00
IrUtils.cpp Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00
NativeState.cpp Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00
NativeState.h Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00
OptimizeConstProp.cpp Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00
OptimizeFinalX64.cpp Sync to upstream/release/566 (#853) 2023-03-03 12:21:14 -08:00
UnwindBuilderDwarf2.cpp Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00
UnwindBuilderWin.cpp Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00