Changeset 284699 in webkit
- Timestamp:
- Oct 22, 2021, 11:23:09 AM (5 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
dfg/DFGGraph.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r284690 r284699 1 2021-10-22 Saam Barati <sbarati@apple.com> 2 3 canDoFastSpread should also check that the Structure is from the global object we're watching 4 https://bugs.webkit.org/show_bug.cgi?id=231976 5 <rdar://84340372> 6 7 Reviewed by Keith Miller. 8 9 Just reorder the checks for clarity. 10 11 * dfg/DFGGraph.cpp: 12 (JSC::DFG::Graph::canDoFastSpread): 13 1 14 2021-10-22 Robin Morisset <rmorisset@apple.com> 2 15 -
trunk/Source/JavaScriptCore/dfg/DFGGraph.cpp
r284506 r284699 1848 1848 bool allGood = true; 1849 1849 value.m_structure.forEach([&] (RegisteredStructure structure) { 1850 allGood &= structure-> hasMonoProto()1851 && structure-> globalObject() == globalObject1850 allGood &= structure->globalObject() == globalObject 1851 && structure->hasMonoProto() 1852 1852 && structure->storedPrototype() == arrayPrototype 1853 1853 && !structure->isDictionary()
Note:
See TracChangeset
for help on using the changeset viewer.