| Index: test/cctest/compiler/graph-builder-tester.h
|
| diff --git a/test/cctest/compiler/graph-builder-tester.h b/test/cctest/compiler/graph-builder-tester.h
|
| index 41c1e384be72f646bd9e331c8e56ac5080373287..7432957c0e04010c89528c83a6075a90c5215dc9 100644
|
| --- a/test/cctest/compiler/graph-builder-tester.h
|
| +++ b/test/cctest/compiler/graph-builder-tester.h
|
| @@ -28,12 +28,6 @@
|
| main_machine_(zone),
|
| main_simplified_(zone) {}
|
|
|
| - Graph* graph() const { return main_graph_; }
|
| - Zone* zone() const { return graph()->zone(); }
|
| - CommonOperatorBuilder* common() { return &main_common_; }
|
| - MachineOperatorBuilder* machine() { return &main_machine_; }
|
| - SimplifiedOperatorBuilder* simplified() { return &main_simplified_; }
|
| -
|
| protected:
|
| // Prefixed with main_ to avoid naming conflicts.
|
| Graph* main_graph_;
|
| @@ -45,7 +39,7 @@
|
|
|
| template <typename ReturnType>
|
| class GraphBuilderTester : public HandleAndZoneScope,
|
| - public GraphAndBuilders,
|
| + private GraphAndBuilders,
|
| public CallHelper<ReturnType> {
|
| public:
|
| explicit GraphBuilderTester(MachineType p0 = kMachNone,
|
| @@ -73,7 +67,12 @@
|
| }
|
|
|
| Isolate* isolate() { return main_isolate(); }
|
| + Graph* graph() const { return main_graph_; }
|
| + Zone* zone() const { return graph()->zone(); }
|
| Factory* factory() { return isolate()->factory(); }
|
| + CommonOperatorBuilder* common() { return &main_common_; }
|
| + MachineOperatorBuilder* machine() { return &main_machine_; }
|
| + SimplifiedOperatorBuilder* simplified() { return &main_simplified_; }
|
|
|
| // Initialize graph and builder.
|
| void Begin(int num_parameters) {
|
|
|