You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0715c86
Browse filesBrowse the repository at this point in the historyBrowse files
Undecided Arrays shouldn't need to be OriginalArray to covert to GetArrayLength
https://bugs.webkit.org/show_bug.cgi?id=211914
Reviewed by Saam Barati.
JSTests:
* stress/undecided-arrays-should-not-need-original-array-for-length.js: Added.
(findFoo):
(const.nonUndecidedFrequency.1000.SubArray):
(i.i.some):
Source/JavaScriptCore:
Also, fix a bug that arrayModesThatPassFiltering() can't handle
Undecided arrays. Because we can now emit a CheckArray on
Undecided AI will try to figure out what types flow out of the
check. Since Undecided was unhandled by filtering, AI will assume
bottom is the only possible value and the DFG/FTL will insert a
breakpoint, causing a crash.
* dfg/DFGArrayMode.cpp:
(JSC::DFG::ArrayMode::refine const):
* dfg/DFGArrayMode.h:
(JSC::DFG::ArrayMode::arrayModesThatPassFiltering const):
Canonical link: https://commits.webkit.org/224819@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@261725 268f45cc-cd09-0410-ab3c-d52691b4dbfc
0 commit comments