Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index b53795831ca2809ffee69d5b5e7dc2b3c6813a95..637e1bedea9779f6f9438afd2046505c1f7e6267 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -1535,19 +1535,6 @@ MaybeObject* JSObject::ResetElements() { |
} |
-MaybeObject* JSObject::TryMigrateInstance() { |
- Map* new_map = map()->CurrentMapForDeprecated(); |
- if (new_map == NULL) return Smi::FromInt(0); |
- Map* original_map = map(); |
- MaybeObject* maybe_result = MigrateToMap(new_map); |
- JSObject* result; |
- if (FLAG_trace_migration && maybe_result->To(&result)) { |
- PrintInstanceMigration(stdout, original_map, result->map()); |
- } |
- return maybe_result; |
-} |
- |
- |
Handle<String> JSObject::ExpectedTransitionKey(Handle<Map> map) { |
DisallowHeapAllocation no_gc; |
if (!map->HasTransitionArray()) return Handle<String>::null(); |