| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index 832ddc1520bd59fa727bceddc179277b79472866..e9788786c57a52e7d6a25d9fb9e2d60a2e5ac006 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -11609,7 +11609,7 @@ Handle<Map> Map::PutPrototypeTransition(Handle<Map> map,
|
|
|
| cache->set(entry + kProtoTransitionPrototypeOffset, *prototype);
|
| cache->set(entry + kProtoTransitionMapOffset, *target_map);
|
| - map->SetNumberOfProtoTransitions(transitions);
|
| + map->SetNumberOfProtoTransitions(last + 1);
|
|
|
| return map;
|
| }
|
|
|