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 e0bdccbfde0efc5b976582ef5db8460c758a82a7..b93be9dd6481cdad554aa9d903489da7d3abb13d 100644 |
--- a/test/unittests/compiler/node-test-utils.cc |
+++ b/test/unittests/compiler/node-test-utils.cc |
@@ -2050,6 +2050,16 @@ Matcher<Node*> IsSpeculativeNumberSubtract( |
rhs_matcher, effect_matcher, control_matcher)); |
} |
+Matcher<Node*> IsSpeculativeNumberShiftLeft( |
+ const Matcher<BinaryOperationHints::Hint>& hint_matcher, |
+ const Matcher<Node*>& lhs_matcher, const Matcher<Node*>& rhs_matcher, |
+ const Matcher<Node*>& effect_matcher, |
+ const Matcher<Node*>& control_matcher) { |
+ return MakeMatcher(new IsSpeculativeBinopMatcher( |
+ IrOpcode::kSpeculativeNumberShiftLeft, hint_matcher, lhs_matcher, |
+ rhs_matcher, effect_matcher, control_matcher)); |
+} |
+ |
Matcher<Node*> IsAllocate(const Matcher<Node*>& size_matcher, |
const Matcher<Node*>& effect_matcher, |
const Matcher<Node*>& control_matcher) { |