Index: src/elements.cc |
diff --git a/src/elements.cc b/src/elements.cc |
index 01842630da4854a33cdc0e96d5e9f26acdba1917..1bba0314488b43b2d75675f9abde1a71ebcfdc0a 100644 |
--- a/src/elements.cc |
+++ b/src/elements.cc |
@@ -1385,7 +1385,7 @@ class DictionaryElementsAccessor |
if (!dict->IsKey(isolate, key)) continue; |
DCHECK(!dict->IsDeleted(i)); |
PropertyDetails details = dict->DetailsAt(i); |
- if (details.type() == ACCESSOR_CONSTANT) return true; |
+ if (details.kind() == kAccessor) return true; |
} |
return false; |
} |
@@ -1595,7 +1595,7 @@ class DictionaryElementsAccessor |
continue; |
} |
- if (dictionary->DetailsAt(i).type() == ACCESSOR_CONSTANT) { |
+ if (dictionary->DetailsAt(i).kind() == kAccessor) { |
// Restart from beginning in slow path, otherwise we may observably |
// access getters out of order |
return false; |