Reviewers: Jakob,
Message:
PTAL
Description:
Rely on the map being a dictionary map rather than not having a backpointer
BUG=chromium:500173
LOG=n
Please review this at https://codereview.chromium.org/1194513003/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+1, -1 lines):
M src/lookup.cc
Index: src/lookup.cc
diff --git a/src/lookup.cc b/src/lookup.cc
index
6a26663b44f87380dfaf9efb5ed16b57467e35ca..b91ad4c9f4bb9ec1b12db7e548bfac0fe27e2fc0
100644
--- a/src/lookup.cc
+++ b/src/lookup.cc
@@ -236,7 +236,7 @@ void LookupIterator::PrepareTransitionToDataProperty(
Handle<GlobalObject>::cast(receiver), name());
DCHECK(cell->value()->IsTheHole());
transition_ = cell;
- } else if (transition->GetBackPointer()->IsMap()) {
+ } else if (!transition->is_dictionary_map()) {
property_details_ = transition->GetLastDescriptorDetails();
has_property_ = true;
}
--
--
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.