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 1a28fe3e4926a6a7f70dec9513b35f9f53eed068..107d9556f2cac35b89f6baaed245857a0398ea91 100644 |
--- a/test/unittests/compiler/node-test-utils.h |
+++ b/test/unittests/compiler/node-test-utils.h |
@@ -7,6 +7,7 @@ |
#include "src/compiler/machine-operator.h" |
#include "src/compiler/machine-type.h" |
+#include "src/compiler/opcodes.h" |
#include "testing/gmock/include/gmock/gmock.h" |
namespace v8 { |
@@ -308,8 +309,6 @@ Matcher<Node*> IsInt64Sub(const Matcher<Node*>& lhs_matcher, |
const Matcher<Node*>& rhs_matcher); |
Matcher<Node*> IsInt64Mul(const Matcher<Node*>& lhs_matcher, |
const Matcher<Node*>& rhs_matcher); |
-Matcher<Node*> IsJSAdd(const Matcher<Node*>& lhs_matcher, |
- const Matcher<Node*>& rhs_matcher); |
Matcher<Node*> IsChangeFloat64ToInt32(const Matcher<Node*>& input_matcher); |
Matcher<Node*> IsChangeFloat64ToUint32(const Matcher<Node*>& input_matcher); |
Matcher<Node*> IsChangeInt32ToFloat64(const Matcher<Node*>& input_matcher); |
@@ -399,12 +398,27 @@ Matcher<Node*> IsJSCallFunction(std::vector<Matcher<Node*>> value_matchers, |
Matcher<Node*> IsJSCallRuntime(std::vector<Matcher<Node*>> value_matchers, |
const Matcher<Node*>& effect_matcher, |
const Matcher<Node*>& control_matcher); |
-Matcher<Node*> IsJSUnaryNot(const Matcher<Node*>& value_matcher); |
-Matcher<Node*> IsJSTypeOf(const Matcher<Node*>& value_matcher); |
+Matcher<Node*> IsJSUnaryNot(const Matcher<Node*>& value_matcher, |
+ const Matcher<Node*>& effect_matcher); |
+Matcher<Node*> IsJSTypeOf(const Matcher<Node*>& value_matcher, |
+ const Matcher<Node*>& effect_matcher); |
+Matcher<Node*> IsJSToBoolean(const Matcher<Node*>& value_matcher, |
+ const Matcher<Node*>& effect_matcher); |
+Matcher<Node*> IsJSToName(const Matcher<Node*>& value_matcher, |
+ const Matcher<Node*>& effect_matcher, |
+ const Matcher<Node*>& control_matcher); |
+Matcher<Node*> IsJSToObject(const Matcher<Node*>& value_matcher, |
+ const Matcher<Node*>& effect_matcher, |
+ const Matcher<Node*>& control_matcher); |
Matcher<Node*> IsJSDeleteProperty(const Matcher<Node*>& object_value_matcher, |
const Matcher<Node*>& key_matcher, |
const Matcher<Node*>& effect_matcher, |
const Matcher<Node*>& control_matcher); |
+Matcher<Node*> IsJSBinaryOperation(IrOpcode::Value opcode, |
+ const Matcher<Node*>& lhs_matcher, |
+ const Matcher<Node*>& rhs_matcher, |
+ const Matcher<Node*>& effect_matcher, |
+ const Matcher<Node*>& control_matcher); |
} // namespace compiler |
} // namespace internal |