Ignore:
Timestamp:
Jun 21, 2008, 12:04:22 AM (17 years ago)
Author:
[email protected]
Message:

Use member function pointers for the Profile::forEach function.
Eliminating a few static functions and simplified things a little.

Reviewed by Alexey Proskuryakov.

  • JavaScriptCore.exp: Change the symbol for forEach.
  • profiler/Profile.cpp: (KJS::Profile::forEach): Use a member function pointer.
  • profiler/Profile.h: (KJS::Profile::sortTotalTimeDescending): Pass a function pointer. (KJS::Profile::sortTotalTimeAscending): Ditto. (KJS::Profile::sortSelfTimeDescending): Ditto. (KJS::Profile::sortSelfTimeAscending): Ditto. (KJS::Profile::sortCallsDescending): Ditto.
  • profiler/ProfileNode.h: (KJS::ProfileNode::sortTotalTimeDescending): No longer static. (KJS::ProfileNode::sortTotalTimeAscending): Ditto. (KJS::ProfileNode::sortSelfTimeDescending): Ditto. (KJS::ProfileNode::sortSelfTimeAscending): Ditto. (KJS::ProfileNode::sortCallsDescending): Ditto.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/JavaScriptCore.exp

    r34696 r34712  
    175175__ZN3KJS7Profile5focusEPKNS_11ProfileNodeE
    176176__ZN3KJS7Profile7excludeEPKNS_11ProfileNodeE
    177 __ZN3KJS7Profile7forEachEPFvPNS_11ProfileNodeEE
     177__ZN3KJS7Profile7forEachEMNS_11ProfileNodeEFvvE
    178178__ZN3KJS7UString3Rep11computeHashEPKti
    179179__ZN3KJS7UString3Rep4nullE
Note: See TracChangeset for help on using the changeset viewer.