Index: src/crankshaft/hydrogen.h |
diff --git a/src/crankshaft/hydrogen.h b/src/crankshaft/hydrogen.h |
index 036982858cfc2b7aa9d50522df641476e7a882a6..9f19ee7074eb0cda33645f1d8d0705c253cbd031 100644 |
--- a/src/crankshaft/hydrogen.h |
+++ b/src/crankshaft/hydrogen.h |
@@ -2340,15 +2340,13 @@ class HOptimizedGraphBuilder : public HGraphBuilder, |
#undef DECLARE_VISIT |
private: |
- bool CanInlineGlobalPropertyAccess(Variable* var, LookupIterator* it, |
- PropertyAccessType access_type); |
- |
- bool CanInlineGlobalPropertyAccess(LookupIterator* it, |
- PropertyAccessType access_type); |
- |
- void InlineGlobalPropertyLoad(LookupIterator* it, BailoutId ast_id); |
- HInstruction* InlineGlobalPropertyStore(LookupIterator* it, HValue* value, |
- BailoutId ast_id); |
+ // Helpers for flow graph construction. |
+ enum GlobalPropertyAccess { |
+ kUseCell, |
+ kUseGeneric |
+ }; |
+ GlobalPropertyAccess LookupGlobalProperty(Variable* var, LookupIterator* it, |
+ PropertyAccessType access_type); |
void EnsureArgumentsArePushedForAccess(); |
bool TryArgumentsAccess(Property* expr); |