Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 46f0bfe04370879dd148a56b9071d27640d6ea67..03bd971a825ce7ceee500e4122265eb8fa70ed5b 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -6114,8 +6114,9 @@ bool HOptimizedGraphBuilder::PropertyAccessInfo::LookupInPrototypes() { |
LookupDescriptor(*map, *name_); |
if (IsFound()) return LoadResult(map); |
} |
+ |
NotFound(); |
- return true; |
+ return !map->prototype()->IsJSReceiver(); |
} |