luau/CLI
Andy Friesen 8a64cb8b73
Sync to upstream/release/624 (#1245)
# What's changed?

* Optimize table.maxn.  This function is now 5-14x faster
* Reserve Luau stack space for error message.

## New Solver

* Globals can be type-stated, but only if they are already in scope
* Fix a stack overflow that could occur when normalizing certain kinds
of recursive unions of intersections (of unions of intersections...)
* Fix an assertion failure that would trigger when the __iter metamethod
has a bad signature

## Native Codegen

* Type propagation and temporary register type hints
* Direct vector property access should only happen for names of right
length
* BytecodeAnalysis will only predict that some of the vector value
fields are numbers

---

## Internal Contributors

Co-authored-by: Alexander McCord <amccord@roblox.com>
Co-authored-by: Andy Friesen <afriesen@roblox.com>
Co-authored-by: Aviral Goel <agoel@roblox.com>
Co-authored-by: Vyacheslav Egorov <vegorov@roblox.com>
2024-05-03 13:17:51 -07:00
..
Analyze.cpp Sync to upstream/release/609 (#1150) 2024-01-19 10:04:46 -08:00
Ast.cpp Sync to upstream/release/575 (#919) 2023-05-05 14:52:49 -07:00
Bytecode.cpp Sync to upstream/release/623 (#1236) 2024-04-25 15:26:09 -07:00
Compile.cpp Sync to upstream/release/624 (#1245) 2024-05-03 13:17:51 -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 Sync to upstream/release/614 (#1173) 2024-02-23 12:08:34 -08:00
FileUtils.h Sync to upstream/release/605 (#1118) 2023-12-01 23:46:57 -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 Sync to upstream/release/614 (#1173) 2024-02-23 12:08:34 -08:00
Repl.cpp Sync to upstream/release/623 (#1236) 2024-04-25 15:26:09 -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
Require.cpp Sync to upstream/release/607 (#1131) 2023-12-15 13:29:06 -08:00
Require.h Sync to upstream/release/605 (#1118) 2023-12-01 23:46:57 -08:00
Web.cpp Sync to upstream/release/509 (#303) 2022-01-06 17:46:53 -08:00