| Index: src/objects-debug.cc
|
| diff --git a/src/objects-debug.cc b/src/objects-debug.cc
|
| index 9c03dcc2eacb4cd93b782e9520a99740fabbcf12..da329faa6ece5ffd7692f877379fc2244b52ec3b 100644
|
| --- a/src/objects-debug.cc
|
| +++ b/src/objects-debug.cc
|
| @@ -276,7 +276,7 @@ void JSObject::JSObjectVerify() {
|
| }
|
| DescriptorArray* descriptors = map()->instance_descriptors();
|
| for (int i = 0; i < map()->NumberOfOwnDescriptors(); i++) {
|
| - if (descriptors->GetDetails(i).type() == FIELD) {
|
| + if (descriptors->GetDetails(i).type() == DATA_FIELD) {
|
| Representation r = descriptors->GetDetails(i).representation();
|
| FieldIndex index = FieldIndex::ForDescriptor(map(), i);
|
| if (IsUnboxedDoubleField(index)) {
|
| @@ -1180,7 +1180,7 @@ bool LayoutDescriptor::IsConsistentWithMap(Map* map) {
|
| int nof_descriptors = map->NumberOfOwnDescriptors();
|
| for (int i = 0; i < nof_descriptors; i++) {
|
| PropertyDetails details = descriptors->GetDetails(i);
|
| - if (details.type() != FIELD) continue;
|
| + if (details.type() != DATA_FIELD) continue;
|
| FieldIndex field_index = FieldIndex::ForDescriptor(map, i);
|
| bool tagged_expected =
|
| !field_index.is_inobject() || !details.representation().IsDouble();
|
|
|