Index: test/unittests/compiler/node-test-utils.cc |
diff --git a/test/unittests/compiler/node-test-utils.cc b/test/unittests/compiler/node-test-utils.cc |
index eb737cb93c245f86d7113bdd03513f192e9f1b80..3a5b2c3aebc79d4e35672fc0237a93197167a620 100644 |
--- a/test/unittests/compiler/node-test-utils.cc |
+++ b/test/unittests/compiler/node-test-utils.cc |
@@ -356,10 +356,10 @@ |
bool MatchAndExplain(Node* node, MatchResultListener* listener) const final { |
return (NodeMatcher::MatchAndExplain(node, listener) && |
- PrintMatchAndExplain(NodeProperties::GetValueInput(node, 1), |
+ PrintMatchAndExplain(NodeProperties::GetValueInput(node, 0), |
"value", value_matcher_, listener) && |
(!has_second_return_value_ || |
- PrintMatchAndExplain(NodeProperties::GetValueInput(node, 2), |
+ PrintMatchAndExplain(NodeProperties::GetValueInput(node, 1), |
"value2", value2_matcher_, listener)) && |
PrintMatchAndExplain(NodeProperties::GetEffectInput(node), "effect", |
effect_matcher_, listener) && |