Index: src/ic/ic.cc |
diff --git a/src/ic/ic.cc b/src/ic/ic.cc |
index b554897f77575d7763465d30471f12a036e78fc8..71aa29bfd4599d212559182402b80aa3e6da14a5 100644 |
--- a/src/ic/ic.cc |
+++ b/src/ic/ic.cc |
@@ -437,6 +437,14 @@ void IC::OnFeedbackChanged(Isolate* isolate, JSFunction* host_function) { |
info->change_own_type_change_checksum(); |
host->set_profiler_ticks(0); |
} else if (host_function->IsInterpreted()) { |
+ if (FLAG_trace_opt_verbose) { |
+ if (host_function->shared()->profiler_ticks() != 0) { |
+ PrintF("[resetting ticks for "); |
+ host_function->PrintName(); |
+ PrintF(" due from %d due to IC change]\n", |
+ host_function->shared()->profiler_ticks()); |
+ } |
+ } |
host_function->shared()->set_profiler_ticks(0); |
} |
isolate->runtime_profiler()->NotifyICChanged(); |