Index: test/unittests/compiler/node-test-utils.h |
diff --git a/test/unittests/compiler/node-test-utils.h b/test/unittests/compiler/node-test-utils.h |
index 9f5be8f31a4cad5e7b373fc48f62ecd29481647a..73f0044c2a8fb8dbbad0bc0ec3f29852397d10ba 100644 |
--- a/test/unittests/compiler/node-test-utils.h |
+++ b/test/unittests/compiler/node-test-utils.h |
@@ -6,6 +6,7 @@ |
#define V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ |
#include "src/compiler/machine-operator.h" |
+#include "src/compiler/type-hints.h" |
#include "src/machine-type.h" |
#include "testing/gmock/include/gmock/gmock.h" |
@@ -199,6 +200,20 @@ Matcher<Node*> IsNumberEqual(const Matcher<Node*>& lhs_matcher, |
const Matcher<Node*>& rhs_matcher); |
Matcher<Node*> IsNumberLessThan(const Matcher<Node*>& lhs_matcher, |
const Matcher<Node*>& rhs_matcher); |
+Matcher<Node*> IsNumberAdd(const Matcher<Node*>& lhs_matcher, |
+ const Matcher<Node*>& rhs_matcher); |
+Matcher<Node*> IsSpeculativeNumberAdd( |
+ const Matcher<BinaryOperationHints::Hint>& hint_matcher, |
+ const Matcher<Node*>& lhs_matcher, const Matcher<Node*>& rhs_matcher, |
+ const Matcher<Node*>& frame_state_matcher, |
+ const Matcher<Node*>& effect_matcher, |
+ const Matcher<Node*>& control_matcher); |
+Matcher<Node*> IsSpeculativeNumberSubtract( |
+ const Matcher<BinaryOperationHints::Hint>& hint_matcher, |
+ const Matcher<Node*>& lhs_matcher, const Matcher<Node*>& rhs_matcher, |
+ const Matcher<Node*>& frame_state_matcher, |
+ const Matcher<Node*>& effect_matcher, |
+ const Matcher<Node*>& control_matcher); |
Matcher<Node*> IsNumberSubtract(const Matcher<Node*>& lhs_matcher, |
const Matcher<Node*>& rhs_matcher); |
Matcher<Node*> IsNumberMultiply(const Matcher<Node*>& lhs_matcher, |