Index: src/runtime/runtime-object.cc |
diff --git a/src/runtime/runtime-object.cc b/src/runtime/runtime-object.cc |
index 407f2377940951417d1307052f554600876c8f89..4d343baa7bcb8df5185943520648ceecf8554937 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) { |
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)) { |
Object* value = dictionary->ValueAt(entry); |
if (!receiver->IsGlobalObject()) return value; |
value = PropertyCell::cast(value)->value(); |