Index: src/compiler/pipeline.cc |
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc |
index b0b3eb76efe8453be05d59a018a7ebe88439b504..da25a91f2c9e6286ee4ba0efbaeafc71b0e52bbd 100644 |
--- a/src/compiler/pipeline.cc |
+++ b/src/compiler/pipeline.cc |
@@ -73,6 +73,15 @@ class PhaseStats { |
}; |
+static inline bool VerifyGraphs() { |
+#ifdef DEBUG |
+ return true; |
+#else |
+ return FLAG_turbo_verify; |
+#endif |
+} |
+ |
+ |
void Pipeline::VerifyAndPrintGraph(Graph* graph, const char* phase) { |
if (FLAG_trace_turbo) { |
char buffer[256]; |