Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index b95787fe16df3f97202c6d716c5e32c33cf6bd45..07ad6f14767fa0520bcca149fd26726e0231fef6 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -2161,17 +2161,6 @@ void JSObject::MigrateFastToFast(Handle<JSObject> object, Handle<Map> new_map) { |
} |
-void JSObject::GeneralizeFieldRepresentation(Handle<JSObject> object, |
- int modify_index, |
- Representation new_representation, |
- Handle<HeapType> new_field_type) { |
- Handle<Map> new_map = Map::GeneralizeRepresentation( |
- handle(object->map()), modify_index, new_representation, new_field_type, |
- FORCE_FIELD); |
- MigrateToMap(object, new_map); |
-} |
- |
- |
int Map::NumberOfFields() { |
DescriptorArray* descriptors = instance_descriptors(); |
int result = 0; |