Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index 098e1a63696cee03c6813e26fcbe0012dfeeb052..b0828863941a8461d6f0174b2973391efefafab3 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -1201,7 +1201,7 @@ void Heap::Scavenge() { |
promotion_queue_.Destroy(); |
LiveObjectList::UpdateReferencesForScavengeGC(); |
- if (!FLAG_counting_profiler) { |
+ if (!FLAG_watch_ic_patching) { |
isolate()->runtime_profiler()->UpdateSamplesAfterScavenge(); |
} |
incremental_marking()->UpdateMarkingDequeAfterScavenge(); |