| Index: test/compiler-unittests/graph-unittest.h
|
| diff --git a/test/compiler-unittests/graph-unittest.h b/test/compiler-unittests/graph-unittest.h
|
| index 2a5ba731f6dd5a7515be3cf6dbd39b02c9fb401f..80ed6d334d5102b34ea4fb741a1e476d682331fd 100644
|
| --- a/test/compiler-unittests/graph-unittest.h
|
| +++ b/test/compiler-unittests/graph-unittest.h
|
| @@ -20,12 +20,26 @@ class PrintableUnique;
|
|
|
| namespace compiler {
|
|
|
| +using ::testing::Matcher;
|
| +
|
| +
|
| class GraphTest : public CommonOperatorTest {
|
| public:
|
| explicit GraphTest(int parameters = 1);
|
| virtual ~GraphTest();
|
|
|
| protected:
|
| + Node* Parameter(int32_t index);
|
| + Node* Float64Constant(double value);
|
| + Node* Int32Constant(int32_t value);
|
| + Node* NumberConstant(double value);
|
| + Node* HeapConstant(const PrintableUnique<HeapObject>& value);
|
| + Node* FalseConstant();
|
| + Node* TrueConstant();
|
| +
|
| + Matcher<Node*> IsFalseConstant();
|
| + Matcher<Node*> IsTrueConstant();
|
| +
|
| Graph* graph() { return &graph_; }
|
|
|
| private:
|
| @@ -33,9 +47,6 @@ class GraphTest : public CommonOperatorTest {
|
| };
|
|
|
|
|
| -using ::testing::Matcher;
|
| -
|
| -
|
| Matcher<Node*> IsBranch(const Matcher<Node*>& value_matcher,
|
| const Matcher<Node*>& control_matcher);
|
| Matcher<Node*> IsMerge(const Matcher<Node*>& control0_matcher,
|
| @@ -50,6 +61,7 @@ Matcher<Node*> IsExternalConstant(
|
| const Matcher<ExternalReference>& value_matcher);
|
| Matcher<Node*> IsHeapConstant(
|
| const Matcher<PrintableUnique<HeapObject> >& value_matcher);
|
| +Matcher<Node*> IsFloat64Constant(const Matcher<double>& value_matcher);
|
| Matcher<Node*> IsInt32Constant(const Matcher<int32_t>& value_matcher);
|
| Matcher<Node*> IsNumberConstant(const Matcher<double>& value_matcher);
|
| Matcher<Node*> IsPhi(const Matcher<Node*>& value0_matcher,
|
|
|