Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 1a5f09c7155b2e31baf549e49eba3a438df75576..5cbd04b052c5928231849204d4d19200301a687c 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -4438,6 +4438,7 @@ class DependentCode: public FixedArray { |
class PrototypeInfo; |
+typedef std::vector<Handle<Map>> MapHandles; |
// All heap objects have a Map that describes their structure. |
// A Map contains information about: |
@@ -4960,7 +4961,7 @@ class Map: public HeapObject { |
// Returns the transitioned map for this map with the most generic |
// elements_kind that's found in |candidates|, or |nullptr| if no match is |
// found at all. |
- Map* FindElementsKindTransitionedMap(MapHandleList* candidates); |
+ Map* FindElementsKindTransitionedMap(MapHandles const& candidates); |
inline bool CanTransition(); |