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 3b6b2c7cb7bfd7095486edb80c61d84152d064ef..273a46a48a46553011ca36eedde774c3bd82491e 100644 |
--- a/test/unittests/compiler/node-test-utils.cc |
+++ b/test/unittests/compiler/node-test-utils.cc |
@@ -1714,6 +1714,22 @@ Matcher<Node*> IsTailCall( |
} |
+Matcher<Node*> IsTailCall( |
+ const Matcher<CallDescriptor const*>& descriptor_matcher, |
+ const Matcher<Node*>& value0_matcher, const Matcher<Node*>& value1_matcher, |
+ const Matcher<Node*>& value2_matcher, const Matcher<Node*>& value3_matcher, |
+ const Matcher<Node*>& effect_matcher, |
+ const Matcher<Node*>& control_matcher) { |
+ std::vector<Matcher<Node*>> value_matchers; |
+ value_matchers.push_back(value0_matcher); |
+ value_matchers.push_back(value1_matcher); |
+ value_matchers.push_back(value2_matcher); |
+ value_matchers.push_back(value3_matcher); |
+ return MakeMatcher(new IsTailCallMatcher(descriptor_matcher, value_matchers, |
+ effect_matcher, control_matcher)); |
+} |
+ |
+ |
Matcher<Node*> IsReferenceEqual(const Matcher<Type*>& type_matcher, |
const Matcher<Node*>& lhs_matcher, |
const Matcher<Node*>& rhs_matcher) { |