Changeset 284664 in webkit for trunk/Source/JavaScriptCore/dfg/DFGConstantFoldingPhase.cpp
- Timestamp:
- Oct 21, 2021, 9:31:45 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/dfg/DFGConstantFoldingPhase.cpp
r284576 r284664 737 737 JSObject* prototype = rareData->objectAllocationPrototype(); 738 738 if (structure 739 && (structure->hasMonoProto() || prototype) 740 && rareData->allocationProfileWatchpointSet().isStillValid()) { 741 739 && (structure->hasMonoProto() || prototype)) { 742 740 m_graph.freeze(rareData); 743 741 m_graph.watchpoints().addLazily(rareData->allocationProfileWatchpointSet()); … … 759 757 changed = true; 760 758 break; 761 762 759 } 763 760 } … … 782 779 if (structure 783 780 && structure->classInfo() == (node->isInternalPromise() ? JSInternalPromise::info() : JSPromise::info()) 784 && structure->globalObject() == globalObject 785 && rareData->allocationProfileWatchpointSet().isStillValid()) { 781 && structure->globalObject() == globalObject) { 786 782 m_graph.freeze(rareData); 787 783 m_graph.watchpoints().addLazily(rareData->allocationProfileWatchpointSet()); … … 808 804 if (structure 809 805 && structure->classInfo() == classInfo 810 && structure->globalObject() == globalObject 811 && rareData->allocationProfileWatchpointSet().isStillValid()) { 806 && structure->globalObject() == globalObject) { 812 807 m_graph.freeze(rareData); 813 808 m_graph.watchpoints().addLazily(rareData->allocationProfileWatchpointSet());
Note:
See TracChangeset
for help on using the changeset viewer.