| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index 48d77db4580cb9462380d045ac6fa2e63fbfc868..15c12db4e02ddf9c26f55938775fe750cb105bbe 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -11565,7 +11565,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;
|
| }
|
|
|