Index: src/mark-compact.cc |
diff --git a/src/mark-compact.cc b/src/mark-compact.cc |
index ccaaab8257b6971cf6029d9c086e21a109a52d4a..2dc05a4ea4a3c56e4039b5fd986d3ff0c4cc9420 100644 |
--- a/src/mark-compact.cc |
+++ b/src/mark-compact.cc |
@@ -1078,15 +1078,6 @@ class MarkCompactMarkingVisitor |
heap->mark_compact_collector()->MarkObject(object, mark); |
} |
- static inline void VisitEmbeddedPointer(Heap* heap, RelocInfo* rinfo) { |
- ASSERT(rinfo->rmode() == RelocInfo::EMBEDDED_OBJECT); |
- // TODO(mstarzinger): We do not short-circuit cons strings here, verify |
- // that there can be no such embedded pointers and add assertion here. |
- HeapObject* object = HeapObject::cast(rinfo->target_object()); |
- heap->mark_compact_collector()->RecordRelocSlot(rinfo, object); |
- MarkObject(heap, object); |
- } |
- |
static inline void VisitCodeTarget(Heap* heap, RelocInfo* rinfo) { |
ASSERT(RelocInfo::IsCodeTarget(rinfo->rmode())); |
Code* target = Code::GetCodeFromTargetAddress(rinfo->target_address()); |