| Index: src/hydrogen-instructions.h
|
| diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h
|
| index 80773bf14789e8524dc4c46184588641d6396495..428cb78f241d64f968ea04743895600dea774dde 100644
|
| --- a/src/hydrogen-instructions.h
|
| +++ b/src/hydrogen-instructions.h
|
| @@ -2689,7 +2689,9 @@ class HCheckMaps V8_FINAL : public HTemplateInstruction<2> {
|
| private:
|
| void Add(Handle<Map> map, Zone* zone) {
|
| map_set_.Add(Unique<Map>(map), zone);
|
| - if (!has_migration_target_ && map->is_migration_target()) {
|
| + if (!has_migration_target_ &&
|
| + map->is_migration_target() &&
|
| + map->has_migrated()) {
|
| has_migration_target_ = true;
|
| SetGVNFlag(kChangesNewSpacePromotion);
|
| }
|
|
|