Index: test/unittests/compiler/js-typed-lowering-unittest.cc |
diff --git a/test/unittests/compiler/js-typed-lowering-unittest.cc b/test/unittests/compiler/js-typed-lowering-unittest.cc |
index e061e326f0ca016335cecd069b3988b93e49c241..68ae6ab3412cbfaba31f3fd47338bda283613e8d 100644 |
--- a/test/unittests/compiler/js-typed-lowering-unittest.cc |
+++ b/test/unittests/compiler/js-typed-lowering-unittest.cc |
@@ -742,9 +742,13 @@ |
Node* control = graph()->start(); |
VectorSlotPair feedback; |
const Operator* op = javascript()->StoreProperty(language_mode, feedback); |
- Node* node = graph()->NewNode(op, base, key, value, vector, context, |
- EmptyFrameState(), EmptyFrameState(), |
- effect, control); |
+ Node* node = graph()->NewNode(op, base, key, value, vector, context); |
+ for (int i = 0; |
+ i < OperatorProperties::GetFrameStateInputCount(node->op()); i++) { |
+ node->AppendInput(zone(), EmptyFrameState()); |
+ } |
+ node->AppendInput(zone(), effect); |
+ node->AppendInput(zone(), control); |
Reduction r = Reduce(node); |
Matcher<Node*> offset_matcher = |
@@ -786,9 +790,13 @@ |
Node* control = graph()->start(); |
VectorSlotPair feedback; |
const Operator* op = javascript()->StoreProperty(language_mode, feedback); |
- Node* node = graph()->NewNode(op, base, key, value, vector, context, |
- EmptyFrameState(), EmptyFrameState(), |
- effect, control); |
+ Node* node = graph()->NewNode(op, base, key, value, vector, context); |
+ for (int i = 0; |
+ i < OperatorProperties::GetFrameStateInputCount(node->op()); i++) { |
+ node->AppendInput(zone(), EmptyFrameState()); |
+ } |
+ node->AppendInput(zone(), effect); |
+ node->AppendInput(zone(), control); |
Reduction r = Reduce(node); |
Matcher<Node*> offset_matcher = |
@@ -843,9 +851,13 @@ |
Node* control = graph()->start(); |
VectorSlotPair feedback; |
const Operator* op = javascript()->StoreProperty(language_mode, feedback); |
- Node* node = graph()->NewNode(op, base, key, value, vector, context, |
- EmptyFrameState(), EmptyFrameState(), |
- effect, control); |
+ Node* node = graph()->NewNode(op, base, key, value, vector, context); |
+ for (int i = 0; |
+ i < OperatorProperties::GetFrameStateInputCount(node->op()); i++) { |
+ node->AppendInput(zone(), EmptyFrameState()); |
+ } |
+ node->AppendInput(zone(), effect); |
+ node->AppendInput(zone(), control); |
Reduction r = Reduce(node); |
ASSERT_TRUE(r.Changed()); |