Index: src/ic.cc |
diff --git a/src/ic.cc b/src/ic.cc |
index c7215409aa8b48ebe54fb2ccb611ebd0f84d2306..01caf3c65b303a48cb83acd1d802eeb73fb92727 100644 |
--- a/src/ic.cc |
+++ b/src/ic.cc |
@@ -293,7 +293,7 @@ Failure* IC::ReferenceError(const char* type, Handle<String> name) { |
void IC::PostPatching() { |
- if (FLAG_counting_profiler) { |
+ if (FLAG_watch_ic_patching) { |
Isolate::Current()->runtime_profiler()->NotifyICChanged(); |
// We do not want to optimize until the ICs have settled down, |
// so when they are patched, we postpone optimization for the |