Index: src/objects-visiting-inl.h |
diff --git a/src/objects-visiting-inl.h b/src/objects-visiting-inl.h |
index 887a3de868f69bd650e7ad11ac605117203b0d38..f7341c98e3e7ae869c0d67bf049b35f8ea3511df 100644 |
--- a/src/objects-visiting-inl.h |
+++ b/src/objects-visiting-inl.h |
@@ -237,7 +237,6 @@ template<typename StaticVisitor> |
void StaticMarkingVisitor<StaticVisitor>::VisitEmbeddedPointer( |
Heap* heap, RelocInfo* rinfo) { |
ASSERT(rinfo->rmode() == RelocInfo::EMBEDDED_OBJECT); |
- ASSERT(!rinfo->target_object()->IsConsString()); |
HeapObject* object = HeapObject::cast(rinfo->target_object()); |
heap->mark_compact_collector()->RecordRelocSlot(rinfo, object); |
// TODO(ulan): It could be better to record slots only for strongly embedded |