Index: src/incremental-marking.cc |
diff --git a/src/incremental-marking.cc b/src/incremental-marking.cc |
index ebbee25ac02d749551ea1c1de200db32987bd276..0b28ac985741c1f9b9eb72729e6ab45ebbead036 100644 |
--- a/src/incremental-marking.cc |
+++ b/src/incremental-marking.cc |
@@ -175,15 +175,6 @@ class IncrementalMarkingMarkingVisitor |
table_.Register(kVisitJSRegExp, &VisitJSRegExp); |
} |
- static inline void VisitEmbeddedPointer(Heap* heap, RelocInfo* rinfo) { |
- ASSERT(rinfo->rmode() == RelocInfo::EMBEDDED_OBJECT); |
- Object* target = rinfo->target_object(); |
- if (target->NonFailureIsHeapObject()) { |
- heap->mark_compact_collector()->RecordRelocSlot(rinfo, target); |
- MarkObject(heap, target); |
- } |
- } |
- |
static inline void VisitCodeTarget(Heap* heap, RelocInfo* rinfo) { |
ASSERT(RelocInfo::IsCodeTarget(rinfo->rmode())); |
Code* target = Code::GetCodeFromTargetAddress(rinfo->target_address()); |