Index: src/ic.cc |
diff --git a/src/ic.cc b/src/ic.cc |
index be29662436d6570887c1f8dec33778002476f214..44bc2f2e6b4a56fad8e89fab7e997e58615f8073 100644 |
--- a/src/ic.cc |
+++ b/src/ic.cc |
@@ -643,7 +643,7 @@ bool IC::UpdatePolymorphicIC(Handle<HeapType> type, |
} |
Handle<Code> ic = isolate()->stub_cache()->ComputePolymorphicIC( |
- &types, &handlers, number_of_valid_types, name, extra_ic_state()); |
+ kind(), &types, &handlers, number_of_valid_types, name, extra_ic_state()); |
set_target(*ic); |
return true; |
} |
@@ -695,7 +695,7 @@ void IC::UpdateMonomorphicIC(Handle<HeapType> type, |
Handle<String> name) { |
if (!handler->is_handler()) return set_target(*handler); |
Handle<Code> ic = isolate()->stub_cache()->ComputeMonomorphicIC( |
- name, type, handler, extra_ic_state()); |
+ kind(), name, type, handler, extra_ic_state()); |
set_target(*ic); |
} |