[webkit-changes] [WebKit/WebKit] 959410: [JSC] Fix speculation for JSMap/SetIterator in DFG...
Yijia Huang
noreply at github.com
Sat Aug 3 13:53:09 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 959410e0ccfa1db00275b4c1f9412dc45f3ac033
https://github.com/WebKit/WebKit/commit/959410e0ccfa1db00275b4c1f9412dc45f3ac033
Author: Yijia Huang <yijia_huang at apple.com>
Date: 2024-08-03 (Sat, 03 Aug 2024)
Changed paths:
M Source/JavaScriptCore/bytecode/SpeculatedType.cpp
M Source/JavaScriptCore/ftl/FTLLowerDFGToB3.cpp
Log Message:
-----------
[JSC] Fix speculation for JSMap/SetIterator in DFG and FTL
https://bugs.webkit.org/show_bug.cgi?id=277576
rdar://133097257
Reviewed by Alexey Shvayka and Yusuke Suzuki.
The speculation of speculateMap(Set)IteratorObject is
definitely wrong. This patch fix all speculations for
JSMap/SetIterator in DFG and FTL.
* Source/JavaScriptCore/bytecode/SpeculatedType.cpp:
(JSC::speculationFromJSType):
* Source/JavaScriptCore/ftl/FTLLowerDFGToB3.cpp:
(JSC::FTL::DFG::LowerDFGToB3::compileCompareStrictEq):
Canonical link: https://commits.webkit.org/281810@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list