Index: src/compiler/ast-graph-builder.h |
diff --git a/src/compiler/ast-graph-builder.h b/src/compiler/ast-graph-builder.h |
index 5e0b3f3c3387768b7fd8cc019b0f26a335f17556..72ad71a4740a86d277a4e4a48409c1f970089040 100644 |
--- a/src/compiler/ast-graph-builder.h |
+++ b/src/compiler/ast-graph-builder.h |
@@ -301,12 +301,10 @@ class AstGraphBuilder : public AstVisitor { |
const VectorSlotPair& feedback); |
// Builders for global variable loads and stores. |
- Node* BuildGlobalLoad(Node* script_context, Node* global, Handle<Name> name, |
- const VectorSlotPair& feedback, TypeofMode typeof_mode, |
- int slot_index); |
- Node* BuildGlobalStore(Node* script_context, Node* global, Handle<Name> name, |
- Node* value, const VectorSlotPair& feedback, |
- TypeFeedbackId id, int slot_index); |
+ Node* BuildGlobalLoad(Handle<Name> name, const VectorSlotPair& feedback, |
+ TypeofMode typeof_mode); |
+ Node* BuildGlobalStore(Handle<Name> name, Node* value, |
+ const VectorSlotPair& feedback, TypeFeedbackId id); |
// Builders for accessing the function context. |
Node* BuildLoadGlobalObject(); |