Index: Source/platform/heap/Heap.h |
diff --git a/Source/platform/heap/Heap.h b/Source/platform/heap/Heap.h |
index 6c9850ca063980a8a58c6b2312bd69b152069e07..c2f2fb54379d99d6c52abdb823c6f45a2e505048 100644 |
--- a/Source/platform/heap/Heap.h |
+++ b/Source/platform/heap/Heap.h |
@@ -1183,7 +1183,6 @@ public: \ |
{ \ |
return allocateObject(size, true); \ |
} |
-#define EAGERLY_FINALIZE_WILL_BE_REMOVED() |
#if ENABLE(ASSERT) && ENABLE(OILPAN) |
class VerifyEagerFinalization { |
public: |
@@ -1209,6 +1208,12 @@ public: \ |
#define EAGERLY_FINALIZE() typedef int IsEagerlyFinalizedMarker |
#endif |
+#if !ENABLE(OILPAN) && ENABLE(LAZY_SWEEPING) |
+#define EAGERLY_FINALIZE_WILL_BE_REMOVED() EAGERLY_FINALIZE() |
+#else |
+#define EAGERLY_FINALIZE_WILL_BE_REMOVED() |
+#endif |
+ |
NO_SANITIZE_ADDRESS inline |
size_t HeapObjectHeader::size() const |
{ |