Index: src/heap-inl.h |
diff --git a/src/heap-inl.h b/src/heap-inl.h |
index 6c33cfcfeebdf1ff6baa04c79d941df72a945da0..e11dec87944201fe28215398dff040b3a4342651 100644 |
--- a/src/heap-inl.h |
+++ b/src/heap-inl.h |
@@ -525,8 +525,8 @@ void Heap::ScavengeObject(HeapObject** p, HeapObject* object) { |
return; |
} |
- // TODO(hpayer): temporary debugging code for issue 284577. |
- CHECK(object->map() != object->GetHeap()->allocation_memento_map()); |
+ // AllocationMementos are unrooted and shouldn't survive a scavenge |
+ ASSERT(object->map() != object->GetHeap()->allocation_memento_map()); |
// Call the slow part of scavenge object. |
return ScavengeObjectSlow(p, object); |
} |