luau/CLI
Andy Friesen 36e0e64715
Sync to upstream/release/598 (#1063)
* Include `windows.h` rather than `Windows.h` to make things compile on
MinGW.
* Custom implementation of timegm/os.time for all platforms
* Disable builtin constant folding when getfenv/setfenv are used
* Fixes https://github.com/Roblox/luau/issues/1042
* Fixes https://github.com/Roblox/luau/issues/1043

New Type Checker

* Initial work toward type states.
* Rework most overloadable operators to use type families.
* Initial work toward our new nonstrict mode.


Native Codegen

* Fix native code generation for dead loops
* Annotate top-level functions as cold
* Slightly smaller/faster x64 Luau calls
* emitInstCall used to not set savedpc itself, but now it does for
consistency with all other implementations
* Implement cmov support for X64
* Fix assertion in luau-compile when module is empty
* Optimize A64 calls at some code size cost
* Inline constant array index offset into the load/store instruction
* Increase x64 spill slots from 5 to 13

---------

Co-authored-by: Arseny Kapoulkine <arseny.kapoulkine@gmail.com>
Co-authored-by: Vyacheslav Egorov <vegorov@roblox.com>
Co-authored-by: Lily Brown <lbrown@roblox.com>
Co-authored-by: Aaron Weiss <aaronweiss@roblox.com>
Co-authored-by: Alexander McCord <amccord@roblox.com>
2023-10-06 12:02:32 -07:00
..
Analyze.cpp Sync to upstream/release/575 (#919) 2023-05-05 14:52:49 -07:00
Ast.cpp Sync to upstream/release/575 (#919) 2023-05-05 14:52:49 -07:00
Compile.cpp Sync to upstream/release/598 (#1063) 2023-10-06 12:02:32 -07:00
Coverage.cpp Sync to upstream/release/513 (#340) 2022-02-04 08:45:57 -08:00
Coverage.h Sync to upstream/release/507-pre (#286) 2021-12-10 14:05:05 -08:00
FileUtils.cpp Rename Windows.h to windows.h (#1055) 2023-10-03 06:59:44 -07:00
FileUtils.h luau-analyze: Add support for reading source code from stdin (#325) 2022-01-25 08:25:01 -08:00
Flags.cpp Sync to upstream/release/537 (#607) 2022-07-21 14:16:54 -07:00
Flags.h Sync to upstream/release/537 (#607) 2022-07-21 14:16:54 -07:00
Profiler.cpp Sync to upstream/release/548 (#699) 2022-10-06 17:23:29 -07:00
Profiler.h Sync to upstream/release/507-pre (#286) 2021-12-10 14:05:05 -08:00
Reduce.cpp fix build & test conformance issues on mingw32/gcc and mingw64/clang (#1034) 2023-09-05 10:22:35 -07:00
Repl.cpp Sync to upstream/release/592 (#1018) 2023-08-25 10:23:55 -07:00
Repl.h Sync to upstream/release/514 (#357) 2022-02-11 11:02:09 -08:00
ReplEntry.cpp Sync to upstream/release/538 (#616) 2022-07-28 21:24:07 -07:00
Web.cpp Sync to upstream/release/509 (#303) 2022-01-06 17:46:53 -08:00