Index: src/type-info.cc |
diff --git a/src/type-info.cc b/src/type-info.cc |
index a18c65b12a76b680fdb86bf0b4f3f796b9e2aae6..611373f86547dbcdbc7a6dea9fd12b1baae4fb8d 100644 |
--- a/src/type-info.cc |
+++ b/src/type-info.cc |
@@ -342,11 +342,13 @@ void TypeFeedbackOracle::PropertyReceiverTypes(FeedbackVectorICSlot slot, |
void TypeFeedbackOracle::KeyedPropertyReceiverTypes( |
- FeedbackVectorICSlot slot, SmallMapList* receiver_types, bool* is_string) { |
+ FeedbackVectorICSlot slot, SmallMapList* receiver_types, bool* is_string, |
+ IcCheckType* key_type) { |
receiver_types->Clear(); |
KeyedLoadICNexus nexus(feedback_vector_, slot); |
CollectReceiverTypes<FeedbackNexus>(&nexus, receiver_types); |
*is_string = HasOnlyStringMaps(receiver_types); |
+ *key_type = nexus.FindFirstName() != NULL ? PROPERTY : ELEMENT; |
} |