Index: src/runtime-profiler.cc |
diff --git a/src/runtime-profiler.cc b/src/runtime-profiler.cc |
index b82c34ca000a3d29232f4f00d9bd381bd0d3e602..df94ddfa2e687e139addb1bed79cbfe598777b77 100644 |
--- a/src/runtime-profiler.cc |
+++ b/src/runtime-profiler.cc |
@@ -81,7 +81,10 @@ static void GetICCounts(JSFunction* function, int* ic_with_type_info_count, |
// Harvest vector-ics as well |
TypeFeedbackVector* vector = function->feedback_vector(); |
int with = 0, gen = 0; |
- vector->ComputeCounts(&with, &gen); |
+ const bool is_interpreted = |
+ function->shared()->code()->is_interpreter_trampoline_builtin(); |
+ |
+ vector->ComputeCounts(&with, &gen, is_interpreted); |
*ic_with_type_info_count += with; |
*ic_generic_count += gen; |