Index: src/compiler/ast-graph-builder.h |
diff --git a/src/compiler/ast-graph-builder.h b/src/compiler/ast-graph-builder.h |
index e3cf7b57eae5a4bc33f9b54a2cbb1b9beccaa3fa..770d2d94345f41972f30df9095fbee428191f142 100644 |
--- a/src/compiler/ast-graph-builder.h |
+++ b/src/compiler/ast-graph-builder.h |
@@ -290,11 +290,10 @@ class AstGraphBuilder : public AstVisitor { |
Node* BuildKeyedLoad(Node* receiver, Node* key, |
const VectorSlotPair& feedback); |
Node* BuildNamedLoad(Node* receiver, Handle<Name> name, |
- const VectorSlotPair& feedback, |
- ContextualMode mode = NOT_CONTEXTUAL); |
+ const VectorSlotPair& feedback); |
Node* BuildKeyedStore(Node* receiver, Node* key, Node* value, |
const VectorSlotPair& feedback, TypeFeedbackId id); |
- Node* BuildNamedStore(Node* receiver, Handle<Name>, Node* value, |
+ Node* BuildNamedStore(Node* receiver, Handle<Name> name, Node* value, |
const VectorSlotPair& feedback, TypeFeedbackId id); |
// Builders for super property loads and stores. |
@@ -307,6 +306,12 @@ class AstGraphBuilder : public AstVisitor { |
Node* BuildKeyedSuperLoad(Node* receiver, Node* home_object, Node* key, |
const VectorSlotPair& feedback); |
+ // Builders for global variable loads and stores. |
+ Node* BuildGlobalLoad(Node* global, Handle<Name> name, |
+ const VectorSlotPair& feedback, ContextualMode mode); |
+ Node* BuildGlobalStore(Node* global, Handle<Name> name, Node* value, |
+ const VectorSlotPair& feedback, TypeFeedbackId id); |
+ |
// Builders for accessing the function context. |
Node* BuildLoadBuiltinsObject(); |
Node* BuildLoadGlobalObject(); |