Changeset 284812 in webkit
- Timestamp:
- Oct 25, 2021, 12:10:14 PM (5 years ago)
- Location:
- branches/safari-612-branch/Source/JavaScriptCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
dfg/DFGGraph.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-612-branch/Source/JavaScriptCore/ChangeLog
r284810 r284812 1 2021-10-25 Null <null@apple.com> 2 3 Cherry-pick r284699. rdar://problem/84340372 4 5 canDoFastSpread should also check that the Structure is from the global object we're watching 6 https://bugs.webkit.org/show_bug.cgi?id=231976 7 <rdar://84340372> 8 9 Reviewed by Keith Miller. 10 11 Just reorder the checks for clarity. 12 13 * dfg/DFGGraph.cpp: 14 (JSC::DFG::Graph::canDoFastSpread): 15 16 17 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@284699 268f45cc-cd09-0410-ab3c-d52691b4dbfc 18 19 2021-10-22 Saam Barati <sbarati@apple.com> 20 21 canDoFastSpread should also check that the Structure is from the global object we're watching 22 https://bugs.webkit.org/show_bug.cgi?id=231976 23 <rdar://84340372> 24 25 Reviewed by Keith Miller. 26 27 Just reorder the checks for clarity. 28 29 * dfg/DFGGraph.cpp: 30 (JSC::DFG::Graph::canDoFastSpread): 31 1 32 2021-10-25 Null <null@apple.com> 2 33 -
branches/safari-612-branch/Source/JavaScriptCore/dfg/DFGGraph.cpp
r284806 r284812 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.