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