| Index: src/mark-compact.cc
|
| diff --git a/src/mark-compact.cc b/src/mark-compact.cc
|
| index 8692ce86eeacdd95009dea9ea41b6e5add75a87c..1adb74745fa1258f352bc961fbc0ef26e65d8c1e 100644
|
| --- a/src/mark-compact.cc
|
| +++ b/src/mark-compact.cc
|
| @@ -2373,7 +2373,7 @@ void MarkCompactCollector::AfterMarking() {
|
| code_flusher_->ProcessCandidates();
|
| }
|
|
|
| - if (!FLAG_counting_profiler) {
|
| + if (!FLAG_watch_ic_patching) {
|
| // Clean up dead objects from the runtime profiler.
|
| heap()->isolate()->runtime_profiler()->RemoveDeadSamples();
|
| }
|
| @@ -3383,7 +3383,7 @@ void MarkCompactCollector::EvacuateNewSpaceAndCandidates() {
|
| heap_->UpdateReferencesInExternalStringTable(
|
| &UpdateReferenceInExternalStringTableEntry);
|
|
|
| - if (!FLAG_counting_profiler) {
|
| + if (!FLAG_watch_ic_patching) {
|
| // Update JSFunction pointers from the runtime profiler.
|
| heap()->isolate()->runtime_profiler()->UpdateSamplesAfterCompact(
|
| &updating_visitor);
|
|
|