Index: src/hydrogen.h |
diff --git a/src/hydrogen.h b/src/hydrogen.h |
index b201949c90c4db6f8f0a4982f795ca5c7bd926b9..d25bb5f9bdadd9e70a7fc5e3a0bfdb992df917f9 100644 |
--- a/src/hydrogen.h |
+++ b/src/hydrogen.h |
@@ -1294,7 +1294,7 @@ class HGraphBuilder { |
HValue* length, |
HValue* key, |
bool is_js_array, |
- bool is_store); |
+ PropertyAccessType access_type); |
HValue* BuildCopyElementsOnWrite(HValue* object, |
HValue* elements, |
@@ -1351,7 +1351,7 @@ class HGraphBuilder { |
HValue* val, |
bool is_js_array, |
ElementsKind elements_kind, |
- bool is_store, |
+ PropertyAccessType access_type, |
LoadKeyedHoleMode load_mode, |
KeyedAccessStoreMode store_mode); |
@@ -1361,7 +1361,7 @@ class HGraphBuilder { |
HValue* val, |
HValue* dependency, |
ElementsKind elements_kind, |
- bool is_store, |
+ PropertyAccessType access_type, |
LoadKeyedHoleMode load_mode = NEVER_RETURN_HOLE); |
HLoadNamedField* BuildLoadNamedField(HValue* object, HObjectAccess access); |
@@ -2187,8 +2187,6 @@ class HOptimizedGraphBuilder : public HGraphBuilder, public AstVisitor { |
Type* ToType(Handle<Map> map) { return IC::MapToType<Type>(map, zone()); } |
private: |
- enum PropertyAccessType { LOAD, STORE }; |
- |
// Helpers for flow graph construction. |
enum GlobalPropertyAccess { |
kUseCell, |
@@ -2196,7 +2194,7 @@ class HOptimizedGraphBuilder : public HGraphBuilder, public AstVisitor { |
}; |
GlobalPropertyAccess LookupGlobalProperty(Variable* var, |
LookupResult* lookup, |
- bool is_store); |
+ PropertyAccessType access_type); |
void EnsureArgumentsArePushedForAccess(); |
bool TryArgumentsAccess(Property* expr); |
@@ -2456,14 +2454,14 @@ class HOptimizedGraphBuilder : public HGraphBuilder, public AstVisitor { |
HValue* val, |
HValue* dependency, |
Handle<Map> map, |
- bool is_store, |
+ PropertyAccessType access_type, |
KeyedAccessStoreMode store_mode); |
HValue* HandlePolymorphicElementAccess(HValue* object, |
HValue* key, |
HValue* val, |
SmallMapList* maps, |
- bool is_store, |
+ PropertyAccessType access_type, |
KeyedAccessStoreMode store_mode, |
bool* has_side_effects); |
@@ -2471,7 +2469,7 @@ class HOptimizedGraphBuilder : public HGraphBuilder, public AstVisitor { |
HValue* key, |
HValue* val, |
Expression* expr, |
- bool is_store, |
+ PropertyAccessType access_type, |
bool* has_side_effects); |
HInstruction* BuildNamedGeneric(PropertyAccessType access, |