| Index: Source/wtf/InstanceCounter.cpp
|
| diff --git a/Source/wtf/InstanceCounter.cpp b/Source/wtf/InstanceCounter.cpp
|
| index dbaee9eb7f2bcad761cb554c0f651d3630bc0e6f..f3d0c3a8416fb36f3803dad60e557fada4515ced 100644
|
| --- a/Source/wtf/InstanceCounter.cpp
|
| +++ b/Source/wtf/InstanceCounter.cpp
|
| @@ -35,8 +35,6 @@
|
|
|
| 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;
|
| @@ -65,6 +63,8 @@ String extractTypeNameFromFunctionName(const char* funcName)
|
| #endif
|
| }
|
|
|
| +#if ENABLE(INSTANCE_COUNTER) || ENABLE(GC_PROFILING)
|
| +
|
| class InstanceCounter {
|
| public:
|
| void incrementInstanceCount(const String& instanceName, void* ptr);
|
|
|