| Index: src/runtime/runtime-object.cc
|
| diff --git a/src/runtime/runtime-object.cc b/src/runtime/runtime-object.cc
|
| index 407f2377940951417d1307052f554600876c8f89..2895da95b1cf5e41e56a8239f8d707c310c3b3cc 100644
|
| --- a/src/runtime/runtime-object.cc
|
| +++ b/src/runtime/runtime-object.cc
|
| @@ -615,7 +615,7 @@ RUNTIME_FUNCTION(Runtime_KeyedGetProperty) {
|
| // appropriate.
|
| LookupIterator it(receiver, key, LookupIterator::OWN);
|
| if (it.state() == LookupIterator::DATA &&
|
| - it.property_details().type() == FIELD) {
|
| + it.property_details().type() == DATA_FIELD) {
|
| FieldIndex field_index = it.GetFieldIndex();
|
| // Do not track double fields in the keyed lookup cache. Reading
|
| // double values requires boxing.
|
| @@ -632,7 +632,7 @@ RUNTIME_FUNCTION(Runtime_KeyedGetProperty) {
|
| NameDictionary* dictionary = receiver->property_dictionary();
|
| int entry = dictionary->FindEntry(key);
|
| if ((entry != NameDictionary::kNotFound) &&
|
| - (dictionary->DetailsAt(entry).type() == FIELD)) {
|
| + (dictionary->DetailsAt(entry).type() == DATA_FIELD)) {
|
| Object* value = dictionary->ValueAt(entry);
|
| if (!receiver->IsGlobalObject()) return value;
|
| value = PropertyCell::cast(value)->value();
|
|
|