Index: src/api-natives.cc |
diff --git a/src/api-natives.cc b/src/api-natives.cc |
index 9e4ff99ef241c450d61043b144ff372e8e2f0120..5993859710a5e1d4063b6900c5af6d1168e82a97 100644 |
--- a/src/api-natives.cc |
+++ b/src/api-natives.cc |
@@ -151,15 +151,6 @@ MaybeHandle<JSObject> ConfigureInstance(Isolate* isolate, Handle<JSObject> obj, |
PropertyAttributes attributes = details.attributes(); |
PropertyKind kind = details.kind(); |
- if (obj->map()->owns_descriptors() && |
- obj->map()->instance_descriptors()->length() != 0 && |
- obj->map()->instance_descriptors()->NumberOfSlackDescriptors() == 0 && |
- TransitionArray::SearchTransition(obj->map(), kind, *name, |
- attributes) == NULL) { |
- Map::EnsureDescriptorSlack(handle(obj->map()), |
- data->number_of_properties() - c); |
- } |
- |
if (kind == kData) { |
auto prop_data = handle(properties.get(i++), isolate); |