OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_CCTEST_COMPILER_GRAPH_BUILDER_TESTER_H_ | 5 #ifndef V8_CCTEST_COMPILER_GRAPH_BUILDER_TESTER_H_ |
6 #define V8_CCTEST_COMPILER_GRAPH_BUILDER_TESTER_H_ | 6 #define V8_CCTEST_COMPILER_GRAPH_BUILDER_TESTER_H_ |
7 | 7 |
8 #include "src/v8.h" | 8 #include "src/v8.h" |
9 #include "test/cctest/cctest.h" | 9 #include "test/cctest/cctest.h" |
10 | 10 |
11 #include "src/compiler/common-operator.h" | 11 #include "src/compiler/common-operator.h" |
12 #include "src/compiler/graph-builder.h" | 12 #include "src/compiler/graph-builder.h" |
13 #include "src/compiler/machine-node-factory.h" | 13 #include "src/compiler/machine-node-factory.h" |
14 #include "src/compiler/machine-operator.h" | 14 #include "src/compiler/machine-operator.h" |
15 #include "src/compiler/simplified-node-factory.h" | |
16 #include "src/compiler/simplified-operator.h" | 15 #include "src/compiler/simplified-operator.h" |
17 #include "test/cctest/compiler/call-tester.h" | 16 #include "test/cctest/compiler/call-tester.h" |
18 #include "test/cctest/compiler/simplified-graph-builder.h" | 17 #include "test/cctest/compiler/simplified-graph-builder.h" |
19 | 18 |
20 namespace v8 { | 19 namespace v8 { |
21 namespace internal { | 20 namespace internal { |
22 namespace compiler { | 21 namespace compiler { |
23 | 22 |
24 // A class that just passes node creation on to the Graph. | 23 // A class that just passes node creation on to the Graph. |
25 class DirectGraphBuilder : public GraphBuilder { | 24 class DirectGraphBuilder : public GraphBuilder { |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 } | 100 } |
102 virtual ~GraphBuilderTester() {} | 101 virtual ~GraphBuilderTester() {} |
103 | 102 |
104 Factory* factory() const { return isolate()->factory(); } | 103 Factory* factory() const { return isolate()->factory(); } |
105 }; | 104 }; |
106 } // namespace compiler | 105 } // namespace compiler |
107 } // namespace internal | 106 } // namespace internal |
108 } // namespace v8 | 107 } // namespace v8 |
109 | 108 |
110 #endif // V8_CCTEST_COMPILER_GRAPH_BUILDER_TESTER_H_ | 109 #endif // V8_CCTEST_COMPILER_GRAPH_BUILDER_TESTER_H_ |
OLD | NEW |