Index: src/typing.cc |
diff --git a/src/typing.cc b/src/typing.cc |
index 88c530eeee7bca2a38d78c187b8384fb1f5ed5f9..17deb6db42d1ca085cf121cca55c0e6e0e257996 100644 |
--- a/src/typing.cc |
+++ b/src/typing.cc |
@@ -510,8 +510,7 @@ void AstTyper::VisitProperty(Property* expr) { |
IcCheckType key_type; |
if (FLAG_vector_ics) { |
oracle()->KeyedPropertyReceiverTypes(slot, expr->GetReceiverTypes(), |
- &is_string); |
- key_type = ELEMENT; |
+ &is_string, &key_type); |
} else { |
oracle()->KeyedPropertyReceiverTypes(id, expr->GetReceiverTypes(), |
&is_string, &key_type); |