Index: src/compiler/js-native-context-specialization.h |
diff --git a/src/compiler/js-native-context-specialization.h b/src/compiler/js-native-context-specialization.h |
index e82f0664c7433a195745b4892d8e2ebbebce50e7..3062ea34b8bf8132bd6ec6ad96e1abc598fe1a6a 100644 |
--- a/src/compiler/js-native-context-specialization.h |
+++ b/src/compiler/js-native-context-specialization.h |
@@ -67,7 +67,7 @@ class JSNativeContextSpecialization final : public AdvancedReducer { |
Reduction ReduceJSStoreDataPropertyInLiteral(Node* node); |
Reduction ReduceElementAccess(Node* node, Node* index, Node* value, |
- MapHandleList const& receiver_maps, |
+ MapHandles const& receiver_maps, |
AccessMode access_mode, |
LanguageMode language_mode, |
KeyedAccessStoreMode store_mode); |
@@ -82,7 +82,7 @@ class JSNativeContextSpecialization final : public AdvancedReducer { |
AccessMode access_mode, |
LanguageMode language_mode); |
Reduction ReduceNamedAccess(Node* node, Node* value, |
- MapHandleList const& receiver_maps, |
+ MapHandles const& receiver_maps, |
Handle<Name> name, AccessMode access_mode, |
LanguageMode language_mode, |
Node* index = nullptr); |
@@ -130,7 +130,7 @@ class JSNativeContextSpecialization final : public AdvancedReducer { |
// Construct an appropriate map check. |
Node* BuildCheckMaps(Node* receiver, Node* effect, Node* control, |
- std::vector<Handle<Map>> const& maps); |
+ MapHandles const& maps); |
// Construct appropriate subgraph to extend properties backing store. |
Node* BuildExtendPropertiesBackingStore(Handle<Map> map, Node* properties, |
@@ -138,13 +138,13 @@ class JSNativeContextSpecialization final : public AdvancedReducer { |
// Adds stability dependencies on all prototypes of every class in |
// {receiver_type} up to (and including) the {holder}. |
- void AssumePrototypesStable(std::vector<Handle<Map>> const& receiver_maps, |
+ void AssumePrototypesStable(MapHandles const& receiver_maps, |
Handle<JSObject> holder); |
// Checks if we can turn the hole into undefined when loading an element |
// from an object with one of the {receiver_maps}; sets up appropriate |
// code dependencies and might use the array protector cell. |
- bool CanTreatHoleAsUndefined(std::vector<Handle<Map>> const& receiver_maps); |
+ bool CanTreatHoleAsUndefined(MapHandles const& receiver_maps); |
// Checks if we know at compile time that the {receiver} either definitely |
// has the {prototype} in it's prototype chain, or the {receiver} definitely |
@@ -161,14 +161,14 @@ class JSNativeContextSpecialization final : public AdvancedReducer { |
// possible. |
bool ExtractReceiverMaps(Node* receiver, Node* effect, |
FeedbackNexus const& nexus, |
- MapHandleList* receiver_maps); |
+ MapHandles* receiver_maps); |
// Try to infer maps for the given {receiver} at the current {effect}. |
// If maps are returned then you can be sure that the {receiver} definitely |
// has one of the returned maps at this point in the program (identified |
// by {effect}). |
bool InferReceiverMaps(Node* receiver, Node* effect, |
- MapHandleList* receiver_maps); |
+ MapHandles* receiver_maps); |
// Try to infer a root map for the {receiver} independent of the current |
// program location. |
MaybeHandle<Map> InferReceiverRootMap(Node* receiver); |