Index: src/elements.cc |
diff --git a/src/elements.cc b/src/elements.cc |
index 4e9a0527c366e392d3a5c54661ae0463552f47f1..2873314ea8b9e98acfc8c6cdb5da378ddf39f1b5 100644 |
--- a/src/elements.cc |
+++ b/src/elements.cc |
@@ -1466,7 +1466,7 @@ class DictionaryElementsAccessor |
if (entry != SeededNumberDictionary::kNotFound) { |
Handle<Object> element(backing_store->ValueAt(entry), isolate); |
PropertyDetails details = backing_store->DetailsAt(entry); |
- if (details.type() == CALLBACKS) { |
+ if (details.type() == ACCESSOR_CONSTANT) { |
return JSObject::GetElementWithCallback( |
obj, receiver, element, key, obj); |
} else { |
@@ -1499,7 +1499,7 @@ class DictionaryElementsAccessor |
Handle<SeededNumberDictionary>::cast(store); |
int entry = backing_store->FindEntry(key); |
if (entry != SeededNumberDictionary::kNotFound && |
- backing_store->DetailsAt(entry).type() == CALLBACKS && |
+ backing_store->DetailsAt(entry).type() == ACCESSOR_CONSTANT && |
backing_store->ValueAt(entry)->IsAccessorPair()) { |
return handle(AccessorPair::cast(backing_store->ValueAt(entry))); |
} |