Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 627d371142e768a93ec1475e55bd08e185d395c6..8ec93358337edb628f1bfacf51e3551ac98ef593 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -3875,6 +3875,7 @@ void JSObject::MigrateInstance(Handle<JSObject> object) { |
Handle<Map> original_map(object->map()); |
GeneralizeFieldRepresentation( |
object, 0, Representation::None(), ALLOW_AS_CONSTANT); |
+ original_map->set_has_migrated(true); |
if (FLAG_trace_migration) { |
object->PrintInstanceMigration(stdout, *original_map, object->map()); |
} |