Index: src/compiler/ast-graph-builder.cc |
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc |
index a40977fcc84ab6cf0829511146470f055208e3ce..7cfc6e64c46718d7da0261784d8def914b2ef3c5 100644 |
--- a/src/compiler/ast-graph-builder.cc |
+++ b/src/compiler/ast-graph-builder.cc |
@@ -3537,7 +3537,7 @@ Node* AstGraphBuilder::BuildVariableAssignment( |
Node* AstGraphBuilder::BuildKeyedLoad(Node* object, Node* key, |
const VectorSlotPair& feedback) { |
const Operator* op = javascript()->LoadProperty(feedback); |
- Node* node = NewNode(op, object, key, GetFunctionClosure()); |
+ Node* node = NewNode(op, object, key); |
return node; |
} |
@@ -3545,7 +3545,7 @@ Node* AstGraphBuilder::BuildKeyedLoad(Node* object, Node* key, |
Node* AstGraphBuilder::BuildNamedLoad(Node* object, Handle<Name> name, |
const VectorSlotPair& feedback) { |
const Operator* op = javascript()->LoadNamed(name, feedback); |
- Node* node = NewNode(op, object, GetFunctionClosure()); |
+ Node* node = NewNode(op, object); |
return node; |
} |
@@ -3553,7 +3553,7 @@ Node* AstGraphBuilder::BuildNamedLoad(Node* object, Handle<Name> name, |
Node* AstGraphBuilder::BuildKeyedStore(Node* object, Node* key, Node* value, |
const VectorSlotPair& feedback) { |
const Operator* op = javascript()->StoreProperty(language_mode(), feedback); |
- Node* node = NewNode(op, object, key, value, GetFunctionClosure()); |
+ Node* node = NewNode(op, object, key, value); |
return node; |
} |
@@ -3563,7 +3563,7 @@ Node* AstGraphBuilder::BuildNamedStore(Node* object, Handle<Name> name, |
const VectorSlotPair& feedback) { |
const Operator* op = |
javascript()->StoreNamed(language_mode(), name, feedback); |
- Node* node = NewNode(op, object, value, GetFunctionClosure()); |
+ Node* node = NewNode(op, object, value); |
return node; |
} |
@@ -3614,7 +3614,7 @@ Node* AstGraphBuilder::BuildGlobalLoad(Handle<Name> name, |
const VectorSlotPair& feedback, |
TypeofMode typeof_mode) { |
const Operator* op = javascript()->LoadGlobal(name, feedback, typeof_mode); |
- Node* node = NewNode(op, GetFunctionClosure()); |
+ Node* node = NewNode(op); |
return node; |
} |
@@ -3623,7 +3623,7 @@ Node* AstGraphBuilder::BuildGlobalStore(Handle<Name> name, Node* value, |
const VectorSlotPair& feedback) { |
const Operator* op = |
javascript()->StoreGlobal(language_mode(), name, feedback); |
- Node* node = NewNode(op, value, GetFunctionClosure()); |
+ Node* node = NewNode(op, value); |
return node; |
} |