luau/VM/src
vegorov-rbx 76f67e0733
Sync to upstream/release/588 (#992)
Type checker/autocomplete:
* `Luau::autocomplete` no longer performs typechecking internally, make
sure to run `Frontend::check` before performing autocomplete requests
* Autocomplete string suggestions without "" are now only suggested
inside the ""
* Autocomplete suggestions now include `function (anonymous autofilled)`
key with a full suggestion for the function expression (with arguments
included) stored in `AutocompleteEntry::insertText`
* `AutocompleteEntry::indexedWithSelf` is provided for function call
suggestions made with `:`
* Cyclic modules now see each other type exports as `any` to prevent
memory use-after-free (similar to module return type)

Runtime:
* Updated inline/loop unroll cost model to better handle assignments
(Fixes https://github.com/Roblox/luau/issues/978)
* `math.noise` speed was improved by ~30%
* `table.concat` speed was improved by ~5-7%
* `tonumber` and `tostring` now have fastcall paths that execute ~1.5x
and ~2.5x faster respectively (fixes #777)
* Fixed crash in `luaL_typename` when index refers to a non-existing
value
* Fixed potential out of memory scenario when using `string.sub` or
`string.char` in a loop
* Fixed behavior of some fastcall builtins when called without arguments
under -O2 to match original functions
* Support for native code execution in VM is now enabled by default
(note: native code still has to be generated explicitly)
* `Codegen::compile` now accepts `CodeGen_OnlyNativeModules` flag. When
set, only modules that have a `--!native` hot-comment at the top will be
compiled to native code

In our new typechecker:
* Generic type packs are no longer considered to be variadic during
unification
* Timeout and cancellation now works in new solver
* Fixed false positive errors around 'table' and 'function' type
refinements
* Table literals now use covariant unification rules. This is sound
since literal has no type specified and has no aliases
* Fixed issues with blocked types escaping the constraint solver
* Fixed more places where error messages that should've been suppressed
were still reported
* Fixed errors when iterating over a top table type

In our native code generation (jit):
* 'DebugLuauAbortingChecks' flag is now supported on A64
* LOP_NEWCLOSURE has been translated to IR
2023-07-28 08:13:53 -07:00
..
lapi.cpp Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00
lapi.h Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
laux.cpp Sync to upstream/release/588 (#992) 2023-07-28 08:13:53 -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/588 (#992) 2023-07-28 08:13:53 -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/584 (#977) 2023-07-14 11:08:53 -07:00
ldebug.h Sync to upstream/release/539 (#625) 2022-08-04 15:35:33 -07:00
ldo.cpp Sync to upstream/release/580 (#951) 2023-06-09 10:08:00 -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/584 (#977) 2023-07-14 11:08:53 -07:00
linit.cpp Sync to upstream/release/516 (#397) 2022-02-24 15:53:37 -08:00
lmathlib.cpp Sync to upstream/release/588 (#992) 2023-07-28 08:13:53 -07:00
lmem.cpp Sync to upstream/release/519 (#422) 2022-03-17 17:46:04 -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/552 (#735) 2022-11-04 10:33:22 -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/559 (#804) 2023-01-13 14:10:01 -08:00
lperf.cpp Sync to upstream/release/562 (#828) 2023-02-03 11:26:13 -08: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/566 (#853) 2023-03-03 12:21:14 -08: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/588 (#992) 2023-07-28 08:13:53 -07:00
ltm.cpp Sync to upstream/release/547 (#690) 2022-09-29 15:23:10 -07:00
ltm.h Sync to upstream/release/547 (#690) 2022-09-29 15:23:10 -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/588 (#992) 2023-07-28 08:13:53 -07:00
lvmload.cpp Sync to upstream/release/584 (#977) 2023-07-14 11:08:53 -07:00
lvmutils.cpp Sync to upstream/release/567 (#860) 2023-03-10 12:21:07 -08:00