Changeset 34362 in webkit for trunk/JavaScriptCore/profiler/Profile.cpp
- Timestamp:
- Jun 4, 2008, 11:53:10 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/profiler/Profile.cpp
r34092 r34362 87 87 } 88 88 89 void Profile::sort(SortFunction function) { 90 91 ProfileNode* currentNode = m_headNode->firstChild(); 92 for (ProfileNode* nextNode = currentNode; nextNode; nextNode = nextNode->firstChild()) 93 currentNode = nextNode; 94 95 ProfileNode* endNode = m_headNode->traverseNextNode(); 96 while (currentNode && currentNode != endNode) { 97 function(currentNode); 98 currentNode = currentNode->traverseNextNode(); 99 } 100 } 101 89 102 #ifndef NDEBUG 90 103 void Profile::debugPrintData() const
Note:
See TracChangeset
for help on using the changeset viewer.