Index: src/mark-compact.cc |
diff --git a/src/mark-compact.cc b/src/mark-compact.cc |
index 0e6b9804e09fe6776b0b61d97362d1d3ecf223ab..7da765dfa2968fbe64c3f1cee689d8bb66b91959 100644 |
--- a/src/mark-compact.cc |
+++ b/src/mark-compact.cc |
@@ -2422,11 +2422,6 @@ void MarkCompactCollector::AfterMarking() { |
} |
} |
- if (!FLAG_watch_ic_patching) { |
- // Clean up dead objects from the runtime profiler. |
- heap()->isolate()->runtime_profiler()->RemoveDeadSamples(); |
- } |
- |
if (FLAG_track_gc_object_stats) { |
heap()->CheckpointObjectStats(); |
} |
@@ -3514,12 +3509,6 @@ void MarkCompactCollector::EvacuateNewSpaceAndCandidates() { |
heap_->UpdateReferencesInExternalStringTable( |
&UpdateReferenceInExternalStringTableEntry); |
- if (!FLAG_watch_ic_patching) { |
- // Update JSFunction pointers from the runtime profiler. |
- heap()->isolate()->runtime_profiler()->UpdateSamplesAfterCompact( |
- &updating_visitor); |
- } |
- |
EvacuationWeakObjectRetainer evacuation_object_retainer; |
heap()->ProcessWeakReferences(&evacuation_object_retainer); |