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 68ae6ab3412cbfaba31f3fd47338bda283613e8d..e061e326f0ca016335cecd069b3988b93e49c241 100644 |
--- a/test/unittests/compiler/js-typed-lowering-unittest.cc |
+++ b/test/unittests/compiler/js-typed-lowering-unittest.cc |
@@ -742,13 +742,9 @@ TEST_F(JSTypedLoweringTest, JSStorePropertyToExternalTypedArray) { |
Node* control = graph()->start(); |
VectorSlotPair feedback; |
const Operator* op = javascript()->StoreProperty(language_mode, feedback); |
- 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); |
+ Node* node = graph()->NewNode(op, base, key, value, vector, context, |
+ EmptyFrameState(), EmptyFrameState(), |
+ effect, control); |
Reduction r = Reduce(node); |
Matcher<Node*> offset_matcher = |
@@ -790,13 +786,9 @@ TEST_F(JSTypedLoweringTest, JSStorePropertyToExternalTypedArrayWithConversion) { |
Node* control = graph()->start(); |
VectorSlotPair feedback; |
const Operator* op = javascript()->StoreProperty(language_mode, feedback); |
- 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); |
+ Node* node = graph()->NewNode(op, base, key, value, vector, context, |
+ EmptyFrameState(), EmptyFrameState(), |
+ effect, control); |
Reduction r = Reduce(node); |
Matcher<Node*> offset_matcher = |
@@ -851,13 +843,9 @@ TEST_F(JSTypedLoweringTest, JSStorePropertyToExternalTypedArrayWithSafeKey) { |
Node* control = graph()->start(); |
VectorSlotPair feedback; |
const Operator* op = javascript()->StoreProperty(language_mode, feedback); |
- 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); |
+ Node* node = graph()->NewNode(op, base, key, value, vector, context, |
+ EmptyFrameState(), EmptyFrameState(), |
+ effect, control); |
Reduction r = Reduce(node); |
ASSERT_TRUE(r.Changed()); |