Remove dead GeneralizeFieldRepresentation

BUG=
R=ishell@chromium.org

Review URL: https://codereview.chromium.org/668663002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24741 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
verwaest@chromium.org 2014-10-20 12:32:23 +00:00
parent d7b5cd0817
commit 4b5ca4f396
2 changed files with 0 additions and 16 deletions

View File

@ -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;

View File

@ -2236,11 +2236,6 @@ class JSObject: public JSReceiver {
Handle<Map> new_map,
int expected_additional_properties);
static void GeneralizeFieldRepresentation(Handle<JSObject> object,
int modify_index,
Representation new_representation,
Handle<HeapType> new_field_type);
static void UpdateAllocationSite(Handle<JSObject> object,
ElementsKind to_kind);