Index: src/compiler/js-global-object-specialization.cc |
diff --git a/src/compiler/js-global-object-specialization.cc b/src/compiler/js-global-object-specialization.cc |
index aa372101c7659993afb1a3414a154511557ceb0d..7959b7562d59834bd52dbb19e909d5b49200a9b4 100644 |
--- a/src/compiler/js-global-object-specialization.cc |
+++ b/src/compiler/js-global-object-specialization.cc |
@@ -76,7 +76,7 @@ Reduction JSGlobalObjectSpecialization::ReduceJSLoadGlobal(Node* node) { |
Node* context = jsgraph()->HeapConstant(result.context); |
Node* value = effect = graph()->NewNode( |
javascript()->LoadContext(0, result.index, result.immutable), context, |
- context, effect); |
+ effect); |
ReplaceWithValue(node, value, effect); |
return Replace(value); |
} |
@@ -157,7 +157,7 @@ Reduction JSGlobalObjectSpecialization::ReduceJSStoreGlobal(Node* node) { |
if (result.immutable) return NoChange(); |
Node* context = jsgraph()->HeapConstant(result.context); |
effect = graph()->NewNode(javascript()->StoreContext(0, result.index), |
- context, value, context, effect, control); |
+ value, context, effect, control); |
ReplaceWithValue(node, value, effect, control); |
return Replace(value); |
} |