| Index: src/crankshaft/hydrogen.h
|
| diff --git a/src/crankshaft/hydrogen.h b/src/crankshaft/hydrogen.h
|
| index 649047e896e22d5443124a4cfc98d2385e90c923..fbcfbd53d94bdcea463646fbb802e4b68ae0ebf9 100644
|
| --- a/src/crankshaft/hydrogen.h
|
| +++ b/src/crankshaft/hydrogen.h
|
| @@ -2333,13 +2333,15 @@ class HOptimizedGraphBuilder : public HGraphBuilder,
|
| #undef DECLARE_VISIT
|
|
|
| private:
|
| - // Helpers for flow graph construction.
|
| - enum GlobalPropertyAccess {
|
| - kUseCell,
|
| - kUseGeneric
|
| - };
|
| - GlobalPropertyAccess LookupGlobalProperty(Variable* var, LookupIterator* it,
|
| - PropertyAccessType access_type);
|
| + 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);
|
|
|
| void EnsureArgumentsArePushedForAccess();
|
| bool TryArgumentsAccess(Property* expr);
|
|
|