| Index: Source/wtf/InstanceCounter.cpp
|
| diff --git a/Source/wtf/InstanceCounter.cpp b/Source/wtf/InstanceCounter.cpp
|
| index f3d0c3a8416fb36f3803dad60e557fada4515ced..dbaee9eb7f2bcad761cb554c0f651d3630bc0e6f 100644
|
| --- a/Source/wtf/InstanceCounter.cpp
|
| +++ b/Source/wtf/InstanceCounter.cpp
|
| @@ -35,6 +35,8 @@
|
|
|
| namespace WTF {
|
|
|
| +#if ENABLE(INSTANCE_COUNTER) || ENABLE(GC_PROFILING)
|
| +
|
| #if COMPILER(CLANG)
|
| const size_t extractNameFunctionPrefixLength = sizeof("const char *WTF::extractNameFunction() [T = ") - 1;
|
| const size_t extractNameFunctionPostfixLength = sizeof("]") - 1;
|
| @@ -63,8 +65,6 @@ String extractTypeNameFromFunctionName(const char* funcName)
|
| #endif
|
| }
|
|
|
| -#if ENABLE(INSTANCE_COUNTER) || ENABLE(GC_PROFILING)
|
| -
|
| class InstanceCounter {
|
| public:
|
| void incrementInstanceCount(const String& instanceName, void* ptr);
|
|
|