Revision: 24741
Author: [email protected]
Date: Mon Oct 20 12:32:23 2014 UTC
Log: Remove dead GeneralizeFieldRepresentation
BUG=
[email protected]
Review URL: https://codereview.chromium.org/668663002
https://code.google.com/p/v8/source/detail?r=24741
Modified:
/branches/bleeding_edge/src/objects.cc
/branches/bleeding_edge/src/objects.h
=======================================
--- /branches/bleeding_edge/src/objects.cc Mon Oct 20 11:42:56 2014 UTC
+++ /branches/bleeding_edge/src/objects.cc Mon Oct 20 12:32:23 2014 UTC
@@ -2159,17 +2159,6 @@
// the left-over space to avoid races with the sweeper thread.
object->synchronized_set_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() {
=======================================
--- /branches/bleeding_edge/src/objects.h Mon Oct 20 11:42:56 2014 UTC
+++ /branches/bleeding_edge/src/objects.h Mon Oct 20 12:32:23 2014 UTC
@@ -2236,11 +2236,6 @@
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.