Index: src/property.h |
diff --git a/src/property.h b/src/property.h |
index c6556b3fc1432c9eaf1a5a175a54f09671fc04b2..5f8e6da40722f200d8f5081e6f48cd8b6f8f2622 100644 |
--- a/src/property.h |
+++ b/src/property.h |
@@ -79,14 +79,10 @@ |
PropertyAttributes attributes, Representation representation) |
: Descriptor(key, HeapType::Any(key->GetIsolate()), attributes, DATA, |
representation, field_index) {} |
- // The field type is either a simple type or a map wrapped in a weak cell. |
- DataDescriptor(Handle<Name> key, int field_index, |
- Handle<Object> wrapped_field_type, |
+ DataDescriptor(Handle<Name> key, int field_index, Handle<HeapType> field_type, |
PropertyAttributes attributes, Representation representation) |
- : Descriptor(key, wrapped_field_type, attributes, DATA, representation, |
- field_index) { |
- DCHECK(wrapped_field_type->IsSmi() || wrapped_field_type->IsWeakCell()); |
- } |
+ : Descriptor(key, field_type, attributes, DATA, representation, |
+ field_index) {} |
}; |