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

Unified Diff: src/compiler/verifier.h

Issue 491303002: Add ScheduleVerifier. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/pipeline.cc ('k') | src/compiler/verifier.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/verifier.h
diff --git a/src/compiler/verifier.h b/src/compiler/verifier.h
index 788c6a56579ddba2a485f46069f896b45ad401bc..b5c028ef30588c11db797a00be137c50942e89c3 100644
--- a/src/compiler/verifier.h
+++ b/src/compiler/verifier.h
@@ -7,12 +7,15 @@
#include "src/v8.h"
-#include "src/compiler/graph.h"
-
namespace v8 {
namespace internal {
namespace compiler {
+class Graph;
+class Schedule;
+
+// Verifies properties of a graph, such as the well-formedness of inputs to
+// each node, etc.
class Verifier {
public:
static void Run(Graph* graph);
@@ -21,6 +24,12 @@ class Verifier {
class Visitor;
DISALLOW_COPY_AND_ASSIGN(Verifier);
};
+
+// Verifies properties of a schedule, such as dominance, phi placement, etc.
+class ScheduleVerifier {
+ public:
+ static void Run(Schedule* schedule);
+};
}
}
} // namespace v8::internal::compiler
« no previous file with comments | « src/compiler/pipeline.cc ('k') | src/compiler/verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698