Index: src/runtime-profiler.cc |
diff --git a/src/runtime-profiler.cc b/src/runtime-profiler.cc |
index 5cae78a75c4b9ee8b27a477189920a1f98ce7468..289eb1b43c2c35787a49c9b46807967dc5321509 100644 |
--- a/src/runtime-profiler.cc |
+++ b/src/runtime-profiler.cc |
@@ -118,10 +118,7 @@ static void GetICCounts(JSFunction* function, int* ic_with_type_info_count, |
function->shared()->code()->is_interpreter_trampoline_builtin(); |
vector->ComputeCounts(&with, &gen, &type_vector_ic_count, is_interpreted); |
- if (is_interpreted) { |
- DCHECK_EQ(*ic_total_count, 0); |
- *ic_total_count = type_vector_ic_count; |
- } |
+ *ic_total_count += type_vector_ic_count; |
*ic_with_type_info_count += with; |
*ic_generic_count += gen; |