Title: [288192] releases/WebKitGTK/webkit-2.34/Source/_javascript_Core
- Revision
- 288192
- Author
- [email protected]
- Date
- 2022-01-19 04:59:38 -0800 (Wed, 19 Jan 2022)
Log Message
Merge r284699 - canDoFastSpread should also check that the Structure is from the global object we're watching
https://bugs.webkit.org/show_bug.cgi?id=231976
<rdar://84340372>
Reviewed by Keith Miller.
Just reorder the checks for clarity.
* dfg/DFGGraph.cpp:
(JSC::DFG::Graph::canDoFastSpread):
Modified Paths
Diff
Modified: releases/WebKitGTK/webkit-2.34/Source/_javascript_Core/ChangeLog (288191 => 288192)
--- releases/WebKitGTK/webkit-2.34/Source/_javascript_Core/ChangeLog 2022-01-19 12:55:46 UTC (rev 288191)
+++ releases/WebKitGTK/webkit-2.34/Source/_javascript_Core/ChangeLog 2022-01-19 12:59:38 UTC (rev 288192)
@@ -1,3 +1,16 @@
+2021-10-22 Saam Barati <[email protected]>
+
+ canDoFastSpread should also check that the Structure is from the global object we're watching
+ https://bugs.webkit.org/show_bug.cgi?id=231976
+ <rdar://84340372>
+
+ Reviewed by Keith Miller.
+
+ Just reorder the checks for clarity.
+
+ * dfg/DFGGraph.cpp:
+ (JSC::DFG::Graph::canDoFastSpread):
+
2021-10-19 Saam Barati <[email protected]>
canDoFastSpread should also check that the Structure is from the global object we're watching
Modified: releases/WebKitGTK/webkit-2.34/Source/_javascript_Core/dfg/DFGGraph.cpp (288191 => 288192)
--- releases/WebKitGTK/webkit-2.34/Source/_javascript_Core/dfg/DFGGraph.cpp 2022-01-19 12:55:46 UTC (rev 288191)
+++ releases/WebKitGTK/webkit-2.34/Source/_javascript_Core/dfg/DFGGraph.cpp 2022-01-19 12:59:38 UTC (rev 288192)
@@ -1847,8 +1847,8 @@
ArrayPrototype* arrayPrototype = globalObject->arrayPrototype();
bool allGood = true;
value.m_structure.forEach([&] (RegisteredStructure structure) {
- allGood &= structure->hasMonoProto()
- && structure->globalObject() == globalObject
+ allGood &= structure->globalObject() == globalObject
+ && structure->hasMonoProto()
&& structure->storedPrototype() == arrayPrototype
&& !structure->isDictionary()
&& structure->getConcurrently(m_vm.propertyNames->iteratorSymbol.impl()) == invalidOffset
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes