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" | |
9 #include "test/cctest/cctest.h" | |
10 | |
11 #include "src/compiler/common-operator.h" | 8 #include "src/compiler/common-operator.h" |
12 #include "src/compiler/instruction-selector.h" | 9 #include "src/compiler/instruction-selector.h" |
13 #include "src/compiler/linkage.h" | 10 #include "src/compiler/linkage.h" |
14 #include "src/compiler/machine-operator.h" | 11 #include "src/compiler/machine-operator.h" |
15 #include "src/compiler/operator-properties.h" | 12 #include "src/compiler/operator-properties.h" |
16 #include "src/compiler/pipeline.h" | 13 #include "src/compiler/pipeline.h" |
17 #include "src/compiler/simplified-operator.h" | 14 #include "src/compiler/simplified-operator.h" |
| 15 #include "test/cctest/cctest.h" |
18 #include "test/cctest/compiler/call-tester.h" | 16 #include "test/cctest/compiler/call-tester.h" |
19 | 17 |
20 namespace v8 { | 18 namespace v8 { |
21 namespace internal { | 19 namespace internal { |
22 namespace compiler { | 20 namespace compiler { |
23 | 21 |
24 class GraphAndBuilders { | 22 class GraphAndBuilders { |
25 public: | 23 public: |
26 explicit GraphAndBuilders(Zone* zone) | 24 explicit GraphAndBuilders(Zone* zone) |
27 : main_graph_(new (zone) Graph(zone)), | 25 : main_graph_(new (zone) Graph(zone)), |
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 Node* return_; | 303 Node* return_; |
306 Node** parameters_; | 304 Node** parameters_; |
307 MaybeHandle<Code> code_; | 305 MaybeHandle<Code> code_; |
308 }; | 306 }; |
309 | 307 |
310 } // namespace compiler | 308 } // namespace compiler |
311 } // namespace internal | 309 } // namespace internal |
312 } // namespace v8 | 310 } // namespace v8 |
313 | 311 |
314 #endif // V8_CCTEST_COMPILER_GRAPH_BUILDER_TESTER_H_ | 312 #endif // V8_CCTEST_COMPILER_GRAPH_BUILDER_TESTER_H_ |
OLD | NEW |