Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(179)

Side by Side Diff: src/compiler/machine-graph-verifier.h

Issue 2574353002: [turbofan] Added --csa-trap-on-node option that helps debugging graph verification issues. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/compiler/code-assembler.cc ('k') | src/compiler/machine-graph-verifier.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_
OLDNEW
« no previous file with comments | « src/compiler/code-assembler.cc ('k') | src/compiler/machine-graph-verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698