Changeset 34003 in webkit for trunk/JavaScriptCore/profiler/Profile.cpp
- Timestamp:
- May 21, 2008, 9:51:03 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/profiler/Profile.cpp
r33969 r34003 43 43 // FIXME: When multi-threading is supported this will be a vector and calls 44 44 // into the profiler will need to know which thread it is executing on. 45 m_callTree = ProfileNode::create(CallIdentifier("Thread_1", 0, 0) );45 m_callTree = ProfileNode::create(CallIdentifier("Thread_1", 0, 0), 0); 46 46 } 47 47 … … 49 49 { 50 50 m_originatingGlobalExec = 0; 51 m_callTree->stopProfiling( 0, true);51 m_callTree->stopProfiling(); 52 52 } 53 53 … … 66 66 if (!foundNameInTree) { // Insert remains of the stack into the call tree. 67 67 for (RefPtr<ProfileNode> next; i >= 0; callTreeInsertionPoint = next) { 68 next = ProfileNode::create(callIdentifiers[i--] );68 next = ProfileNode::create(callIdentifiers[i--], m_callTree.get()); 69 69 callTreeInsertionPoint->addChild(next); 70 70 }
Note:
See TracChangeset
for help on using the changeset viewer.