Index: Source/platform/heap/Heap.h |
diff --git a/Source/platform/heap/Heap.h b/Source/platform/heap/Heap.h |
index 0050cb97ada166093406999e01230f26179c8292..434b7b345f7c55e67e5adf759a14fdc0672b5654 100644 |
--- a/Source/platform/heap/Heap.h |
+++ b/Source/platform/heap/Heap.h |
@@ -864,10 +864,6 @@ public: |
static bool willObjectBeLazilySwept(const T* objectPointer) |
{ |
static_assert(IsGarbageCollectedType<T>::value, "only objects deriving from GarbageCollected can be used."); |
-#if ENABLE(ASSERT) |
- ASSERT(objectPointer); |
- HeapObjectHeader::fromPayload(objectPointer)->checkHeader(); |
-#endif |
#if ENABLE(OILPAN) |
BaseHeapPage* page = pageFromObject(objectPointer); |
if (page->hasBeenSwept()) |