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 e6201ec67f8e6f627827b98b56e125200b67cfee..5fe40360c889d518b0f65c41628616e62a4c01fc 100644 |
--- a/test/unittests/compiler/node-test-utils.cc |
+++ b/test/unittests/compiler/node-test-utils.cc |
@@ -1320,8 +1320,15 @@ class IsUnopMatcher final : public NodeMatcher { |
} // namespace |
-Matcher<Node*> IsEnd(const Matcher<Node*>& control_matcher) { |
- return MakeMatcher(new IsControl1Matcher(IrOpcode::kEnd, control_matcher)); |
+Matcher<Node*> IsEnd(const Matcher<Node*>& control0_matcher) { |
+ return MakeMatcher(new IsControl1Matcher(IrOpcode::kEnd, control0_matcher)); |
+} |
+ |
+ |
+Matcher<Node*> IsEnd(const Matcher<Node*>& control0_matcher, |
+ const Matcher<Node*>& control1_matcher) { |
+ return MakeMatcher(new IsControl2Matcher(IrOpcode::kEnd, control0_matcher, |
+ control1_matcher)); |
} |