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

Unified Diff: src/crankshaft/hydrogen.cc

Issue 1681143003: [TypeFeedbackVector/Crankshaft] Fix private symbol feedback. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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 | « no previous file | src/type-feedback-vector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/crankshaft/hydrogen.cc
diff --git a/src/crankshaft/hydrogen.cc b/src/crankshaft/hydrogen.cc
index b13118d526ce27ba6aea3e32d2b2a707d625e4fa..ed0749d77f75fc0ddbd793f5a460fa6c23a2ffec 100644
--- a/src/crankshaft/hydrogen.cc
+++ b/src/crankshaft/hydrogen.cc
@@ -6407,6 +6407,10 @@ bool HOptimizedGraphBuilder::PropertyAccessInfo::LoadFieldMaps(
bool HOptimizedGraphBuilder::PropertyAccessInfo::LookupInPrototypes() {
Handle<Map> map = this->map();
+ if (name_->IsPrivate()) {
+ NotFound();
+ return !map->has_hidden_prototype();
+ }
while (map->prototype()->IsJSObject()) {
holder_ = handle(JSObject::cast(map->prototype()));
« no previous file with comments | « no previous file | src/type-feedback-vector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698