luau/VM/src
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
..
lapi.cpp Sync to upstream/release/593 (#1024) 2023-09-01 10:58:27 -07:00
lapi.h Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
laux.cpp Sync to upstream/release/592 (#1018) 2023-08-25 10:23:55 -07:00
lbaselib.cpp Sync to upstream/release/539 (#625) 2022-08-04 15:35:33 -07:00
lbitlib.cpp Sync to upstream/release/539 (#625) 2022-08-04 15:35:33 -07:00
lbuiltins.cpp Sync to upstream/release/592 (#1018) 2023-08-25 10:23:55 -07:00
lbuiltins.h Sync to upstream/release/551 (#727) 2022-10-28 03:37:29 -07:00
lbytecode.h Sync to upstream/release/529 (#505) 2022-05-26 15:08:16 -07:00
lcommon.h Sync to upstream/release/539 (#625) 2022-08-04 15:35:33 -07:00
lcorolib.cpp Sync to upstream/release/544 (#669) 2022-09-08 15:14:25 -07:00
ldblib.cpp Sync to upstream/release/559 (#804) 2023-01-13 14:10:01 -08:00
ldebug.cpp Sync to upstream/release/589 (#1000) 2023-08-04 12:18:54 -07:00
ldebug.h Sync to upstream/release/589 (#1000) 2023-08-04 12:18:54 -07:00
ldo.cpp Sync to upstream/release/596 (#1050) 2023-09-22 12:12:15 -07:00
ldo.h Sync to upstream/release/577 (#934) 2023-05-19 12:37:30 -07:00
lfunc.cpp Sync to upstream/release/588 (#992) 2023-07-28 08:13:53 -07:00
lfunc.h Sync to upstream/release/545 (#674) 2022-09-15 15:38:17 -07:00
lgc.cpp Sync to upstream/release/548 (#699) 2022-10-06 17:23:29 -07:00
lgc.h Sync to upstream/release/588 (#992) 2023-07-28 08:13:53 -07:00
lgcdebug.cpp Sync to upstream/release/589 (#1000) 2023-08-04 12:18:54 -07:00
linit.cpp Sync to upstream/release/516 (#397) 2022-02-24 15:53:37 -08:00
lmathlib.cpp Sync to upstream/release/595 (#1044) 2023-09-15 10:26:59 -07:00
lmem.cpp fix build & test conformance issues on mingw32/gcc and mingw64/clang (#1034) 2023-09-05 10:22:35 -07:00
lmem.h Sync to upstream/release/521 (#443) 2022-03-31 14:01:51 -07:00
lnumprint.cpp Sync to upstream/release/517 (#408) 2022-03-04 08:36:33 -08:00
lnumutils.h Sync to upstream/release/593 (#1024) 2023-09-01 10:58:27 -07:00
lobject.cpp Sync to upstream/release/550 (#723) 2022-10-21 10:54:01 -07:00
lobject.h Sync to upstream/release/588 (#992) 2023-07-28 08:13:53 -07:00
loslib.cpp Sync to upstream/release/598 (#1063) 2023-10-06 12:02:32 -07:00
lperf.cpp Rename Windows.h to windows.h (#1055) 2023-10-03 06:59:44 -07:00
lstate.cpp Sync to upstream/release/584 (#977) 2023-07-14 11:08:53 -07:00
lstate.h Sync to upstream/release/584 (#977) 2023-07-14 11:08:53 -07:00
lstring.cpp Sync to upstream/release/545 (#674) 2022-09-15 15:38:17 -07:00
lstring.h Sync to upstream/release/539 (#625) 2022-08-04 15:35:33 -07:00
lstrlib.cpp Sync to upstream/release/592 (#1018) 2023-08-25 10:23:55 -07:00
ltable.cpp Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00
ltable.h Sync to upstream/release/538 (#616) 2022-07-28 21:24:07 -07:00
ltablib.cpp Sync to upstream/release/590 (#1008) 2023-08-11 07:42:37 -07:00
ltm.cpp Sync to upstream/release/593 (#1024) 2023-09-01 10:58:27 -07:00
ltm.h Sync to upstream/release/593 (#1024) 2023-09-01 10:58:27 -07:00
ludata.cpp Add lua_getuserdatadtor (#870) 2023-04-11 12:46:55 -07:00
ludata.h Sync to upstream/release/539 (#625) 2022-08-04 15:35:33 -07:00
lutf8lib.cpp Sync to upstream/release/559 (#804) 2023-01-13 14:10:01 -08:00
lvm.h Sync to upstream/release/581 (#958) 2023-06-16 10:35:18 -07:00
lvmexecute.cpp Sync to upstream/release/595 (#1044) 2023-09-15 10:26:59 -07:00
lvmload.cpp Sync to upstream/release/590 (#1008) 2023-08-11 07:42:37 -07:00
lvmutils.cpp Sync to upstream/release/593 (#1024) 2023-09-01 10:58:27 -07:00