| Index: src/objects-debug.cc
|
| diff --git a/src/objects-debug.cc b/src/objects-debug.cc
|
| index f7bdeede63ad1be0ce86b0e609f0e1ba76763cdf..78a07c737e41a2553c1052c2e55a38ee002f073f 100644
|
| --- a/src/objects-debug.cc
|
| +++ b/src/objects-debug.cc
|
| @@ -1172,27 +1172,6 @@ bool DescriptorArray::IsSortedNoDuplicates(int valid_entries) {
|
| }
|
|
|
|
|
| -bool LayoutDescriptor::IsConsistentWithMap(Map* map) {
|
| - if (FLAG_unbox_double_fields) {
|
| - DescriptorArray* descriptors = map->instance_descriptors();
|
| - int nof_descriptors = map->NumberOfOwnDescriptors();
|
| - for (int i = 0; i < nof_descriptors; i++) {
|
| - PropertyDetails details = descriptors->GetDetails(i);
|
| - if (details.type() != DATA) continue;
|
| - FieldIndex field_index = FieldIndex::ForDescriptor(map, i);
|
| - bool tagged_expected =
|
| - !field_index.is_inobject() || !details.representation().IsDouble();
|
| - for (int bit = 0; bit < details.field_width_in_words(); bit++) {
|
| - bool tagged_actual = IsTagged(details.field_index() + bit);
|
| - DCHECK_EQ(tagged_expected, tagged_actual);
|
| - if (tagged_actual != tagged_expected) return false;
|
| - }
|
| - }
|
| - }
|
| - return true;
|
| -}
|
| -
|
| -
|
| bool TransitionArray::IsSortedNoDuplicates(int valid_entries) {
|
| DCHECK(valid_entries == -1);
|
| Name* prev_key = NULL;
|
|
|