Index: src/handles.cc |
diff --git a/src/handles.cc b/src/handles.cc |
index b86f19a498cdfc5fa1e0dfe942f9524db858f28f..2d414022e09203e8a1034ee24fd55ca49f699063 100644 |
--- a/src/handles.cc |
+++ b/src/handles.cc |
@@ -637,7 +637,7 @@ Handle<FixedArray> GetEnumPropertyKeys(Handle<JSObject> object, |
// present enum cache. The first step to using the cache is to set the |
// enum length of the map by counting the number of own descriptors that |
// are not DONT_ENUM or SYMBOLIC. |
- if (own_property_count == Map::kInvalidEnumCache) { |
+ if (own_property_count == kInvalidEnumCacheSentinel) { |
own_property_count = object->map()->NumberOfDescribedProperties( |
OWN_DESCRIPTORS, DONT_SHOW); |