Index: Source/platform/heap/GCInfo.cpp |
diff --git a/Source/platform/heap/GCInfo.cpp b/Source/platform/heap/GCInfo.cpp |
index dede86c839844f6ee40832e463347c056a951243..3b502f3e7eb417295dbc342c99ff0078929b7bbf 100644 |
--- a/Source/platform/heap/GCInfo.cpp |
+++ b/Source/platform/heap/GCInfo.cpp |
@@ -71,7 +71,7 @@ void GCInfoTable::shutdown() |
#if ENABLE(ASSERT) |
void assertObjectHasGCInfo(const void* payload, size_t gcInfoIndex) |
{ |
- HeapObjectHeader::fromPayload(payload)->checkHeader(); |
+ ASSERT(HeapObjectHeader::fromPayload(payload)->checkHeader()); |
#if !defined(COMPONENT_BUILD) |
// On component builds we cannot compare the gcInfos as they are statically |
// defined in each of the components and hence will not match. |