Changeset 291332 in webkit for trunk/Source/JavaScriptCore/dfg/DFGGraph.h
- Timestamp:
- Mar 15, 2022, 10:35:12 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/dfg/DFGGraph.h
r289359 r291332 477 477 } 478 478 479 ScriptExecutable* executableFor(InlineCallFrame* inlineCallFrame)480 {481 if (!inlineCallFrame)482 return m_codeBlock->ownerExecutable();483 484 return inlineCallFrame->baselineCodeBlock->ownerExecutable();485 }486 487 ScriptExecutable* executableFor(const CodeOrigin& codeOrigin)488 {489 return executableFor(codeOrigin.inlineCallFrame());490 }491 492 479 CodeBlock* baselineCodeBlockFor(InlineCallFrame* inlineCallFrame) 493 480 { … … 504 491 bool masqueradesAsUndefinedWatchpointIsStillValid(const CodeOrigin& codeOrigin) 505 492 { 493 if (m_plan.isUnlinked()) 494 return false; 506 495 return globalObjectFor(codeOrigin)->masqueradesAsUndefinedWatchpoint()->isStillValid(); 507 496 } … … 796 785 bool isWatchingHavingABadTimeWatchpoint(Node* node) 797 786 { 787 if (m_plan.isUnlinked()) 788 return false; 798 789 JSGlobalObject* globalObject = globalObjectFor(node->origin.semantic); 799 790 return watchpoints().isWatched(globalObject->havingABadTimeWatchpoint()); … … 802 793 bool isWatchingGlobalObjectWatchpoint(JSGlobalObject* globalObject, InlineWatchpointSet& set) 803 794 { 795 if (m_plan.isUnlinked()) 796 return false; 797 804 798 if (watchpoints().isWatched(set)) 805 799 return true; … … 820 814 bool isWatchingArrayIteratorProtocolWatchpoint(Node* node) 821 815 { 816 if (m_plan.isUnlinked()) 817 return false; 818 822 819 JSGlobalObject* globalObject = globalObjectFor(node->origin.semantic); 823 820 InlineWatchpointSet& set = globalObject->arrayIteratorProtocolWatchpointSet(); … … 827 824 bool isWatchingNumberToStringWatchpoint(Node* node) 828 825 { 826 if (m_plan.isUnlinked()) 827 return false; 828 829 829 JSGlobalObject* globalObject = globalObjectFor(node->origin.semantic); 830 830 InlineWatchpointSet& set = globalObject->numberToStringWatchpointSet();
Note:
See TracChangeset
for help on using the changeset viewer.