| Index: Source/platform/heap/GCInfo.cpp
|
| diff --git a/Source/platform/heap/GCInfo.cpp b/Source/platform/heap/GCInfo.cpp
|
| index 39c652cec8e03ab2b6fd846640d02eee4e6e5ea1..dede86c839844f6ee40832e463347c056a951243 100644
|
| --- a/Source/platform/heap/GCInfo.cpp
|
| +++ b/Source/platform/heap/GCInfo.cpp
|
| @@ -76,7 +76,8 @@ void assertObjectHasGCInfo(const void* payload, size_t gcInfoIndex)
|
| // On component builds we cannot compare the gcInfos as they are statically
|
| // defined in each of the components and hence will not match.
|
| BasePage* page = pageFromObject(payload);
|
| - ASSERT(page->orphaned() || HeapObjectHeader::fromPayload(payload)->gcInfoIndex() == gcInfoIndex);
|
| + ASSERT(!page->orphaned());
|
| + ASSERT(HeapObjectHeader::fromPayload(payload)->gcInfoIndex() == gcInfoIndex);
|
| #endif
|
| }
|
| #endif
|
|
|