OLD | NEW |
1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 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_COMPILER_MACHINE_GRAPH_VERIFIER_H_ | 5 #ifndef V8_COMPILER_MACHINE_GRAPH_VERIFIER_H_ |
6 #define V8_COMPILER_MACHINE_GRAPH_VERIFIER_H_ | 6 #define V8_COMPILER_MACHINE_GRAPH_VERIFIER_H_ |
7 | 7 |
8 #include "src/base/macros.h" | 8 #include "src/base/macros.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
11 namespace internal { | 11 namespace internal { |
12 class Zone; | 12 class Zone; |
13 namespace compiler { | 13 namespace compiler { |
14 | 14 |
15 class Graph; | 15 class Graph; |
16 class Linkage; | 16 class Linkage; |
17 class Schedule; | 17 class Schedule; |
18 | 18 |
19 // Verifies properties of a scheduled graph, such as that the nodes' inputs are | 19 // Verifies properties of a scheduled graph, such as that the nodes' inputs are |
20 // of the correct type. | 20 // of the correct type. |
21 class MachineGraphVerifier { | 21 class MachineGraphVerifier { |
22 public: | 22 public: |
23 static void Run(Graph* graph, Schedule const* const schedule, | 23 static void Run(Graph* graph, Schedule const* const schedule, |
24 Linkage* linkage, bool is_stub, Zone* temp_zone); | 24 Linkage* linkage, bool is_stub, const char* name, |
| 25 Zone* temp_zone); |
25 }; | 26 }; |
26 | 27 |
27 } // namespace compiler | 28 } // namespace compiler |
28 } // namespace internal | 29 } // namespace internal |
29 } // namespace v8 | 30 } // namespace v8 |
30 | 31 |
31 #endif // V8_COMPILER_MACHINE_GRAPH_VERIFIER_H_ | 32 #endif // V8_COMPILER_MACHINE_GRAPH_VERIFIER_H_ |
OLD | NEW |