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 eccc96227e4e0d4fbb1bd4f6e867d6d23a3a5563..72723145851c394836d4ca46fee19f00ec9df624 100644 |
--- a/test/unittests/compiler/node-test-utils.cc |
+++ b/test/unittests/compiler/node-test-utils.cc |
@@ -1303,6 +1303,12 @@ Matcher<Node*> IsIfFalse(const Matcher<Node*>& control_matcher) { |
} |
+Matcher<Node*> IsIfSuccess(const Matcher<Node*>& control_matcher) { |
+ return MakeMatcher( |
+ new IsControl1Matcher(IrOpcode::kIfSuccess, control_matcher)); |
+} |
+ |
+ |
Matcher<Node*> IsSwitch(const Matcher<Node*>& value_matcher, |
const Matcher<Node*>& control_matcher) { |
return MakeMatcher(new IsSwitchMatcher(value_matcher, control_matcher)); |