Index: src/incremental-marking.cc |
diff --git a/src/incremental-marking.cc b/src/incremental-marking.cc |
index 1be7aff6c8752e0dc36695a5abd6aa354e460630..f41a31d6a705d5ef6e779917f4922a2d0a0023c1 100644 |
--- a/src/incremental-marking.cc |
+++ b/src/incremental-marking.cc |
@@ -175,18 +175,6 @@ class IncrementalMarkingMarkingVisitor |
table_.Register(kVisitJSRegExp, &VisitJSRegExp); |
} |
- static inline void VisitCodeTarget(Heap* heap, RelocInfo* rinfo) { |
- ASSERT(RelocInfo::IsCodeTarget(rinfo->rmode())); |
- Code* target = Code::GetCodeFromTargetAddress(rinfo->target_address()); |
- if (FLAG_cleanup_code_caches_at_gc && target->is_inline_cache_stub() |
- && (target->ic_age() != heap->global_ic_age())) { |
- IC::Clear(rinfo->pc()); |
- target = Code::GetCodeFromTargetAddress(rinfo->target_address()); |
- } |
- heap->mark_compact_collector()->RecordRelocSlot(rinfo, Code::cast(target)); |
- MarkObject(heap, target); |
- } |
- |
static void VisitJSWeakMap(Map* map, HeapObject* object) { |
Heap* heap = map->GetHeap(); |
VisitPointers(heap, |