Index: src/compiler/pipeline.cc |
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc |
index a05775f00032bdc6b8d54d92fa86182d816f6c00..b0da3452eb04a8989be80bd2003fd9abc16f81d9 100644 |
--- a/src/compiler/pipeline.cc |
+++ b/src/compiler/pipeline.cc |
@@ -1653,6 +1653,12 @@ Handle<Code> Pipeline::GenerateCodeForCodeStub(Isolate* isolate, |
if (FLAG_trace_turbo) { |
{ |
+ CodeTracer::Scope tracing_scope(isolate->GetCodeTracer()); |
+ OFStream os(tracing_scope.file()); |
+ os << "---------------------------------------------------\n" |
+ << "Begin compiling " << debug_name << " using Turbofan" << std::endl; |
+ } |
+ { |
TurboJsonFile json_of(&info, std::ios_base::trunc); |
json_of << "{\"function\":\"" << info.GetDebugName().get() |
<< "\", \"source\":\"\",\n\"phases\":["; |