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

Unified Diff: src/objects-debug.cc

Issue 10784014: Removed transitions from the accessor pair descriptors. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments Created 8 years, 5 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/objects.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects-debug.cc
diff --git a/src/objects-debug.cc b/src/objects-debug.cc
index e40fe513a5c9a778c018591a8964c8ccae121af6..3047326e2ab195789d438c7e7efc15802cdebbe7 100644
--- a/src/objects-debug.cc
+++ b/src/objects-debug.cc
@@ -949,15 +949,7 @@ bool TransitionArray::IsConsistentWithBackPointers(Map* current_map) {
return false;
}
for (int i = 0; i < number_of_transitions(); ++i) {
- Object* value = GetValue(i);
- if (value->IsAccessorPair()) {
- AccessorPair* accessors = AccessorPair::cast(value);
- if (!CheckOneBackPointer(current_map, accessors->getter())) return false;
- if (!CheckOneBackPointer(current_map, accessors->setter())) return false;
- } else {
- ASSERT(value->IsMap());
- if (!CheckOneBackPointer(current_map, value)) return false;
- }
+ if (!CheckOneBackPointer(current_map, GetTarget(i))) return false;
}
return true;
}
« no previous file with comments | « src/objects.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698