Index: src/handles.cc |
diff --git a/src/handles.cc b/src/handles.cc |
index 1962e2f651b1a11cf11f5cf4fb187aabaddfa612..946c1008aae1975ce143aaaee9c2cbb3c0f88b6e 100644 |
--- a/src/handles.cc |
+++ b/src/handles.cc |
@@ -729,7 +729,7 @@ Handle<FixedArray> GetEnumPropertyKeys(Handle<JSObject> object, |
Handle<DescriptorArray>(object->map()->instance_descriptors(), isolate); |
for (int i = 0; i < descs->number_of_descriptors(); i++) { |
- if (descs->IsProperty(i) && !descs->GetDetails(i).IsDontEnum()) { |
+ if (!descs->GetDetails(i).IsDontEnum()) { |
storage->set(index, descs->GetKey(i)); |
PropertyDetails details = descs->GetDetails(i); |
sort_array->set(index, Smi::FromInt(details.index())); |