| Index: src/objects-debug.cc
|
| diff --git a/src/objects-debug.cc b/src/objects-debug.cc
|
| index fc593d5aaa6caa3edf4c86ee140694942d42aa50..cefa3f8aa8bb251b23b4b739e92c9adf02bf51ee 100644
|
| --- a/src/objects-debug.cc
|
| +++ b/src/objects-debug.cc
|
| @@ -922,6 +922,11 @@ static bool CheckOneBackPointer(Map* current_map, Object* target) {
|
|
|
|
|
| bool DescriptorArray::IsConsistentWithBackPointers(Map* current_map) {
|
| + Map* elements_transition = elements_transition_map();
|
| + if (elements_transition != NULL &&
|
| + !CheckOneBackPointer(current_map, elements_transition)) {
|
| + return false;
|
| + }
|
| for (int i = 0; i < number_of_descriptors(); ++i) {
|
| switch (GetType(i)) {
|
| case MAP_TRANSITION:
|
|
|