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:
parent
d7b5cd0817
commit
4b5ca4f396
@ -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;
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user