Index: src/compiler/access-info.cc |
diff --git a/src/compiler/access-info.cc b/src/compiler/access-info.cc |
index 4a2a857029a3d88d225385101d8017af5f0bb769..e38f629c5b5b7e1e6ca7f8465e3357047cff5468 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))); |
} |
} |
} |