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 8c49b1b370aa43bee08e4776ba3f861f2159d0d9..6556e9e7445a899d213490f9fffed03928176554 100644 |
--- a/src/compiler/js-native-context-specialization.h |
+++ b/src/compiler/js-native-context-specialization.h |
@@ -50,6 +50,7 @@ class JSNativeContextSpecialization final : public AdvancedReducer { |
Reduction ReduceJSLoadGlobal(Node* node); |
Reduction ReduceJSStoreGlobal(Node* node); |
Reduction ReduceJSLoadNamed(Node* node); |
+ Reduction ReduceJSStoreNamed(Node* node); |
Reduction Replace(Node* node, Node* value, Node* effect = nullptr, |
Node* control = nullptr) { |
@@ -58,10 +59,13 @@ class JSNativeContextSpecialization final : public AdvancedReducer { |
} |
Reduction Replace(Node* node, Handle<Object> value); |
+ enum PropertyAccessMode { kLoad, kStore }; |
class PropertyAccessInfo; |
bool ComputePropertyAccessInfo(Handle<Map> map, Handle<Name> name, |
+ PropertyAccessMode access_mode, |
PropertyAccessInfo* access_info); |
bool ComputePropertyAccessInfos(MapHandleList const& maps, Handle<Name> name, |
+ PropertyAccessMode access_mode, |
ZoneVector<PropertyAccessInfo>* access_infos); |
struct ScriptContextTableLookupResult; |