Index: Source/platform/heap/Visitor.h |
diff --git a/Source/platform/heap/Visitor.h b/Source/platform/heap/Visitor.h |
index 5d5971e250579a85b57f21b731a8a7d67bd1d4af..18dc43276dbb1f3b9bc12260b610ee753e83bf80 100644 |
--- a/Source/platform/heap/Visitor.h |
+++ b/Source/platform/heap/Visitor.h |
@@ -43,7 +43,7 @@ |
#include "wtf/RefPtr.h" |
#include "wtf/TypeTraits.h" |
#include "wtf/WeakPtr.h" |
-#if ENABLE(GC_TRACING) |
+#if ENABLE(GC_PROFILING) |
#include "wtf/text/WTFString.h" |
#endif |
@@ -89,7 +89,7 @@ struct GCInfo { |
FinalizationCallback m_finalize; |
bool m_nonTrivialFinalizer; |
bool m_hasVTable; |
-#if ENABLE(GC_TRACING) |
+#if ENABLE(GC_PROFILING) |
// |m_className| is held as a reference to prevent dtor being called at exit. |
const String& m_className; |
#endif |
@@ -416,7 +416,7 @@ public: |
FOR_EACH_TYPED_HEAP(DECLARE_VISITOR_METHODS) |
#undef DECLARE_VISITOR_METHODS |
-#if ENABLE(GC_TRACING) |
+#if ENABLE(GC_PROFILE_MARKING) |
void setHostInfo(void* object, const String& name) |
{ |
m_hostObject = object; |
@@ -426,7 +426,7 @@ public: |
protected: |
virtual void registerWeakCell(void**, WeakPointerCallback) = 0; |
-#if ENABLE(GC_TRACING) |
+#if ENABLE(GC_PROFILE_MARKING) |
void* m_hostObject; |
String m_hostName; |
#endif |
@@ -596,7 +596,7 @@ private: |
#define WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(TYPE) |
#endif |
-#if ENABLE(GC_TRACING) |
+#if ENABLE(GC_PROFILING) |
template<typename T> |
struct TypenameStringTrait { |
static const String& get() |
@@ -616,7 +616,7 @@ struct GCInfoAtBase { |
FinalizerTrait<T>::finalize, |
FinalizerTrait<T>::nonTrivialFinalizer, |
WTF::IsPolymorphic<T>::value, |
-#if ENABLE(GC_TRACING) |
+#if ENABLE(GC_PROFILING) |
TypenameStringTrait<T>::get() |
#endif |
}; |