| Index: src/compiler/access-info.cc
|
| diff --git a/src/compiler/access-info.cc b/src/compiler/access-info.cc
|
| index 22c777d6a3a0bb72b2fe8fce0c986ea6772bd173..da0e90aa9b126178a5e2c8421cedacb1228fecfd 100644
|
| --- a/src/compiler/access-info.cc
|
| +++ b/src/compiler/access-info.cc
|
| @@ -192,12 +192,12 @@ bool AccessInfoFactory::ComputeElementAccessInfos(
|
| MapTransitionList transitions(maps.length());
|
| for (Handle<Map> map : maps) {
|
| if (Map::TryUpdate(map).ToHandle(&map)) {
|
| - Handle<Map> transition_target =
|
| - Map::FindTransitionedMap(map, &possible_transition_targets);
|
| - if (transition_target.is_null()) {
|
| + Map* transition_target =
|
| + map->FindElementsKindTransitionedMap(&possible_transition_targets);
|
| + if (transition_target == nullptr) {
|
| receiver_maps.Add(map);
|
| } else {
|
| - transitions.push_back(std::make_pair(map, transition_target));
|
| + transitions.push_back(std::make_pair(map, handle(transition_target)));
|
| }
|
| }
|
| }
|
|
|