| Index: src/runtime/runtime-object.cc
|
| diff --git a/src/runtime/runtime-object.cc b/src/runtime/runtime-object.cc
|
| index 397ad6c383d2ae9b55418bc5f6e9a126528b0e47..7ab0a52150dbe791323462735c63a95e5cb78a83 100644
|
| --- a/src/runtime/runtime-object.cc
|
| +++ b/src/runtime/runtime-object.cc
|
| @@ -71,7 +71,7 @@ static MaybeHandle<Object> KeyedGetObjectProperty(Isolate* isolate,
|
| if (entry != GlobalDictionary::kNotFound) {
|
| DCHECK(dictionary->ValueAt(entry)->IsPropertyCell());
|
| PropertyCell* cell = PropertyCell::cast(dictionary->ValueAt(entry));
|
| - if (cell->property_details().type() == DATA) {
|
| + if (cell->property_details().kind() == kData) {
|
| Object* value = cell->value();
|
| if (!value->IsTheHole(isolate)) {
|
| return Handle<Object>(value, isolate);
|
| @@ -84,7 +84,7 @@ static MaybeHandle<Object> KeyedGetObjectProperty(Isolate* isolate,
|
| NameDictionary* dictionary = receiver->property_dictionary();
|
| int entry = dictionary->FindEntry(key);
|
| if ((entry != NameDictionary::kNotFound) &&
|
| - (dictionary->DetailsAt(entry).type() == DATA)) {
|
| + (dictionary->DetailsAt(entry).kind() == kData)) {
|
| Object* value = dictionary->ValueAt(entry);
|
| return Handle<Object>(value, isolate);
|
| }
|
|
|