Changeset 72176 in webkit for trunk/JavaScriptCore/profiler/ProfileNode.cpp
- Timestamp:
- Nov 17, 2010, 12:05:39 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/profiler/ProfileNode.cpp
r72160 r72176 57 57 } 58 58 59 ProfileNode::ProfileNode(ExecState* exec, const CallIdentifier& callIdentifier, ProfileNode* headNode, ProfileNode* parentNode) 60 : m_exec(exec) 61 , m_callIdentifier(callIdentifier) 59 ProfileNode::ProfileNode(const CallIdentifier& callIdentifier, ProfileNode* headNode, ProfileNode* parentNode) 60 : m_callIdentifier(callIdentifier) 62 61 , m_head(headNode) 63 62 , m_parent(parentNode) … … 74 73 } 75 74 76 ProfileNode::ProfileNode(ExecState* exec, ProfileNode* headNode, ProfileNode* nodeToCopy) 77 : m_exec(exec) 78 , m_callIdentifier(nodeToCopy->callIdentifier()) 75 ProfileNode::ProfileNode(ProfileNode* headNode, ProfileNode* nodeToCopy) 76 : m_callIdentifier(nodeToCopy->callIdentifier()) 79 77 , m_head(headNode) 80 78 , m_parent(nodeToCopy->parent()) … … 90 88 } 91 89 92 ProfileNode* ProfileNode::willExecute( ExecState* exec,const CallIdentifier& callIdentifier)90 ProfileNode* ProfileNode::willExecute(const CallIdentifier& callIdentifier) 93 91 { 94 92 for (StackIterator currentChild = m_children.begin(); currentChild != m_children.end(); ++currentChild) { … … 99 97 } 100 98 101 RefPtr<ProfileNode> newChild = ProfileNode::create( exec,callIdentifier, m_head ? m_head : this, this); // If this ProfileNode has no head it is the head.99 RefPtr<ProfileNode> newChild = ProfileNode::create(callIdentifier, m_head ? m_head : this, this); // If this ProfileNode has no head it is the head. 102 100 if (m_children.size()) 103 101 m_children.last()->setNextSibling(newChild.get());
Note:
See TracChangeset
for help on using the changeset viewer.