Index: src/compiler/pipeline.cc |
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc |
index e8ffeecf4c7c915c599b53c49830bcc66deaf691..ec52e79c69e8e3b8dd2649e8bfe5183dbb5efc56 100644 |
--- a/src/compiler/pipeline.cc |
+++ b/src/compiler/pipeline.cc |
@@ -1777,6 +1777,21 @@ bool PipelineImpl::ScheduleAndSelectInstructions(Linkage* linkage, |
(!strcmp(FLAG_turbo_verify_machine_graph, "*") || |
!strcmp(FLAG_turbo_verify_machine_graph, |
data->info()->GetDebugName().get())))) { |
+ if (FLAG_trace_csa_verify) { |
+ AllowHandleDereference allow_deref; |
+ CompilationInfo* info = data->info(); |
+ CodeTracer::Scope tracing_scope(info->isolate()->GetCodeTracer()); |
+ OFStream os(tracing_scope.file()); |
+ os << "--------------------------------------------------\n" |
+ << "--- Verifying " << info->GetDebugName().get() |
+ << " generated by TurboFan\n" |
+ << "--------------------------------------------------\n" |
+ << *data->schedule() |
+ << "--------------------------------------------------\n" |
+ << "--- End of " << info->GetDebugName().get() |
+ << " generated by TurboFan\n" |
+ << "--------------------------------------------------\n"; |
+ } |
Zone temp_zone(data->isolate()->allocator(), ZONE_NAME); |
MachineGraphVerifier::Run(data->graph(), data->schedule(), linkage, |
data->info()->IsStub(), &temp_zone); |