Ignore:
Timestamp:
Oct 15, 2008, 10:31:41 PM (17 years ago)
Author:
[email protected]
Message:

2008-10-15 Sam Weinig <[email protected]>

Reviewed by Goeffrey Garen.

Add function to dump statistics for StructureIDs.

  • kjs/StructureID.cpp: (JSC::StructureID::dumpStatistics): (JSC::StructureID::StructureID): (JSC::StructureID::~StructureID):
  • kjs/StructureID.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/StructureID.h

    r37627 r37629  
    3838#include <wtf/PassRefPtr.h>
    3939#include <wtf/RefCounted.h>
     40
     41#define DUMP_STRUCTURE_ID_STATISTICS 0
    4042
    4143namespace JSC {
     
    8587        static void startIgnoringLeaks();
    8688        static void stopIgnoringLeaks();
     89
     90#if DUMP_STRUCTURE_ID_STATISTICS
     91        static void dumpStatistics();
     92#endif
    8793
    8894        static PassRefPtr<StructureID> changePrototypeTransition(StructureID*, JSValue* prototype);
Note: See TracChangeset for help on using the changeset viewer.