Index: src/runtime-profiler.h |
diff --git a/src/runtime-profiler.h b/src/runtime-profiler.h |
index c01717ca6815b35f615598ccb16a3511a5bae644..f37456653b1ef3fff2b098eda9a4a8f8636de6ed 100644 |
--- a/src/runtime-profiler.h |
+++ b/src/runtime-profiler.h |
@@ -64,7 +64,7 @@ class RuntimeProfiler { |
void NotifyICChanged() { any_ic_changed_ = true; } |
void NotifyCodeGenerated(int generated_code_size) { |
- if (FLAG_counting_profiler) { |
+ if (FLAG_watch_ic_patching) { |
code_generated_ = true; |
total_code_generated_ += generated_code_size; |
} |