Reviewers: Igor Sheludko,

Message:
PTAL

Description:
Remove dead GeneralizeFieldRepresentation

BUG=

Please review this at https://codereview.chromium.org/668663002/

Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+0, -16 lines):
  M src/objects.h
  M src/objects.cc


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;
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 603f7b3e3f8a78a2c4be4178cb9d34f33321ccf9..41beca4d8a64f658ac39a3e32cbf0c180352b599 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -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);



--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to