Chromium Code Reviews| Index: test/unittests/compiler/graph-unittest.h |
| diff --git a/test/unittests/compiler/graph-unittest.h b/test/unittests/compiler/graph-unittest.h |
| index 7c75161d9d2c092624fe3b247d5808476594f52c..0e462ed76b2b9cba71a0f1fd379fb3e2fb47c56d 100644 |
| --- a/test/unittests/compiler/graph-unittest.h |
| +++ b/test/unittests/compiler/graph-unittest.h |
| @@ -7,6 +7,8 @@ |
| #include "src/compiler/common-operator.h" |
| #include "src/compiler/graph.h" |
| +#include "src/compiler/machine-operator.h" |
|
Benedikt Meurer
2015/01/16 17:55:36
Remove these two includes again.
titzer
2015/01/19 09:47:12
Done.
|
| +#include "src/compiler/node.h" |
| #include "src/compiler/typer.h" |
| #include "test/unittests/test-utils.h" |
| #include "testing/gmock/include/gmock/gmock.h" |
| @@ -31,7 +33,6 @@ class GraphTest : public TestWithContext, public TestWithZone { |
| explicit GraphTest(int num_parameters = 1); |
| ~GraphTest() OVERRIDE; |
| - protected: |
|
Benedikt Meurer
2015/01/16 17:55:36
Reinsert the protected.
titzer
2015/01/19 09:47:12
Done.
|
| Node* Parameter(int32_t index = 0); |
| Node* Float32Constant(volatile float value); |
| Node* Float64Constant(volatile double value); |
| @@ -50,6 +51,7 @@ class GraphTest : public TestWithContext, public TestWithZone { |
| Matcher<Node*> IsFalseConstant(); |
| Matcher<Node*> IsTrueConstant(); |
| + Node* start() { return graph()->start(); } |
| CommonOperatorBuilder* common() { return &common_; } |
| Graph* graph() { return &graph_; } |
| @@ -64,7 +66,6 @@ class TypedGraphTest : public GraphTest { |
| explicit TypedGraphTest(int num_parameters = 1); |
| ~TypedGraphTest() OVERRIDE; |
| - protected: |
|
Benedikt Meurer
2015/01/16 17:55:36
Reinsert the protected.
titzer
2015/01/19 09:47:12
Done.
|
| Node* Parameter(int32_t index = 0) { return GraphTest::Parameter(index); } |
| Node* Parameter(Type* type, int32_t index = 0); |
| @@ -74,6 +75,7 @@ class TypedGraphTest : public GraphTest { |
| Typer typer_; |
| }; |
| + |
| } // namespace compiler |
| } // namespace internal |
| } // namespace v8 |