Changeset 33382 in webkit for trunk/JavaScriptCore/profiler/FunctionCallProfile.cpp
- Timestamp:
- May 13, 2008, 12:35:31 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/profiler/FunctionCallProfile.cpp
r32760 r33382 45 45 } 46 46 47 FunctionCallProfile::~FunctionCallProfile()48 {49 deleteAllValues(m_children);50 }51 52 53 47 void FunctionCallProfile::willExecute() 54 48 { … … 72 66 } 73 67 74 void FunctionCallProfile::addChild( FunctionCallProfile*child)68 void FunctionCallProfile::addChild(RefPtr<FunctionCallProfile>& child) 75 69 { 76 70 if (!child) … … 89 83 for (StackIterator currentChild = m_children.begin(); currentChild != m_children.end(); ++currentChild) { 90 84 if ((*currentChild)->functionName() == name) 91 return *currentChild;85 return (*currentChild).get(); 92 86 } 93 87
Note:
See TracChangeset
for help on using the changeset viewer.