Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(485)

Unified Diff: src/type-info.cc

Issue 1921963005: Version 5.1.281.19 (cherry-pick) (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@5.1
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/type-feedback-vector.cc ('k') | test/mjsunit/regress/regress-crbug-594183.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/type-info.cc
diff --git a/src/type-info.cc b/src/type-info.cc
index 952b27c19ab248a89fe7d3a376ae5d969523fd5f..9087576f019fd6f1cf4688d629db14b49606b162 100644
--- a/src/type-info.cc
+++ b/src/type-info.cc
@@ -297,7 +297,7 @@ void TypeFeedbackOracle::KeyedPropertyReceiverTypes(
KeyedLoadICNexus nexus(feedback_vector_, slot);
CollectReceiverTypes<FeedbackNexus>(&nexus, receiver_types);
*is_string = HasOnlyStringMaps(receiver_types);
- *key_type = nexus.FindFirstName() != NULL ? PROPERTY : ELEMENT;
+ *key_type = nexus.GetKeyType();
}
}
« no previous file with comments | « src/type-feedback-vector.cc ('k') | test/mjsunit/regress/regress-crbug-594183.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698