| Index: test/compiler-unittests/graph-unittest.h
|
| diff --git a/test/compiler-unittests/graph-unittest.h b/test/compiler-unittests/graph-unittest.h
|
| index 37409198b56f36e1cacc4c6b73581415ba6b48f2..792289cf2f9c398f534e5f776f29de69a23bc049 100644
|
| --- a/test/compiler-unittests/graph-unittest.h
|
| +++ b/test/compiler-unittests/graph-unittest.h
|
| @@ -20,6 +20,9 @@ class PrintableUnique;
|
|
|
| namespace compiler {
|
|
|
| +using ::testing::Matcher;
|
| +
|
| +
|
| class GraphTest : public CommonOperatorTest {
|
| public:
|
| explicit GraphTest(int parameters = 1);
|
| @@ -28,13 +31,14 @@ class GraphTest : public CommonOperatorTest {
|
| protected:
|
| Graph* graph() { return &graph_; }
|
|
|
| + Matcher<Node*> IsAllocateHeapNumber(const Matcher<Node*>& effect_matcher,
|
| + const Matcher<Node*>& control_matcher);
|
| +
|
| private:
|
| Graph graph_;
|
| };
|
|
|
|
|
| -using ::testing::Matcher;
|
| -
|
| Matcher<Node*> IsBranch(const Matcher<Node*>& value_matcher,
|
| const Matcher<Node*>& control_matcher);
|
| Matcher<Node*> IsMerge(const Matcher<Node*>& control0_matcher,
|
| @@ -42,6 +46,7 @@ Matcher<Node*> IsMerge(const Matcher<Node*>& control0_matcher,
|
| Matcher<Node*> IsIfTrue(const Matcher<Node*>& control_matcher);
|
| Matcher<Node*> IsIfFalse(const Matcher<Node*>& control_matcher);
|
| Matcher<Node*> IsControlEffect(const Matcher<Node*>& control_matcher);
|
| +Matcher<Node*> IsValueEffect(const Matcher<Node*>& value_matcher);
|
| Matcher<Node*> IsFinish(const Matcher<Node*>& value_matcher,
|
| const Matcher<Node*>& effect_matcher);
|
| Matcher<Node*> IsExternalConstant(
|
| @@ -93,6 +98,7 @@ Matcher<Node*> IsWord64Equal(const Matcher<Node*>& lhs_matcher,
|
| Matcher<Node*> IsInt32AddWithOverflow(const Matcher<Node*>& lhs_matcher,
|
| const Matcher<Node*>& rhs_matcher);
|
| Matcher<Node*> IsConvertInt64ToInt32(const Matcher<Node*>& input_matcher);
|
| +Matcher<Node*> IsChangeFloat64ToInt32(const Matcher<Node*>& input_matcher);
|
| Matcher<Node*> IsChangeInt32ToFloat64(const Matcher<Node*>& input_matcher);
|
|
|
| } // namespace compiler
|
|
|