Index: src/mark-compact.cc |
diff --git a/src/mark-compact.cc b/src/mark-compact.cc |
index ccaaab8257b6971cf6029d9c086e21a109a52d4a..0ba8a24913e90ab9d1189f6532a6e6e563c455a6 100644 |
--- a/src/mark-compact.cc |
+++ b/src/mark-compact.cc |
@@ -1153,15 +1153,6 @@ class MarkCompactMarkingVisitor |
return true; |
} |
- static void VisitCode(Map* map, HeapObject* object) { |
- Heap* heap = map->GetHeap(); |
- Code* code = reinterpret_cast<Code*>(object); |
- if (FLAG_cleanup_code_caches_at_gc) { |
- code->ClearTypeFeedbackCells(heap); |
- } |
- code->CodeIterateBody<MarkCompactMarkingVisitor>(heap); |
- } |
- |
static void VisitJSWeakMap(Map* map, HeapObject* object) { |
MarkCompactCollector* collector = map->GetHeap()->mark_compact_collector(); |
JSWeakMap* weak_map = reinterpret_cast<JSWeakMap*>(object); |