Reviewers: Toon Verwaest,
Message:
PTAL
Description:
Fix property lookup in hydrogen for own symbols.
[email protected]
Please review this at https://codereview.chromium.org/508083002/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+4, -0 lines):
M src/hydrogen.cc
Index: src/hydrogen.cc
diff --git a/src/hydrogen.cc b/src/hydrogen.cc
index
dd237715c92bea23ee5c65d99c34c8e3b8961b61..595b963eafe629e66756a4e5b42065c8cecfd588
100644
--- a/src/hydrogen.cc
+++ b/src/hydrogen.cc
@@ -6047,6 +6047,10 @@ void
HOptimizedGraphBuilder::PropertyAccessInfo::LoadFieldMaps(
bool HOptimizedGraphBuilder::PropertyAccessInfo::LookupInPrototypes() {
Handle<Map> map = this->map();
+ if (name_->IsOwn()) {
+ lookup_.NotFound();
+ return true;
+ }
while (map->prototype()->IsJSObject()) {
holder_ = handle(JSObject::cast(map->prototype()));
if (holder_->map()->is_deprecated()) {
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.