| Index: src/compiler/pipeline.cc
|
| diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc
|
| index 6c9480e7f02c25c5c90f5365204f2f5e11d9b0f5..1175027f924b9422041a27c7c0b1515b77058cd5 100644
|
| --- a/src/compiler/pipeline.cc
|
| +++ b/src/compiler/pipeline.cc
|
| @@ -1227,6 +1227,11 @@ Handle<Code> Pipeline::GenerateCodeForCodeStub(Isolate* isolate,
|
| pipeline_statistics.Reset(new PipelineStatistics(&info, &zone_pool));
|
| pipeline_statistics->BeginPhaseKind("interpreter handler codegen");
|
| }
|
| +
|
| + Pipeline pipeline(&info);
|
| + pipeline.data_ = &data;
|
| + DCHECK_NOT_NULL(data.schedule());
|
| +
|
| if (FLAG_trace_turbo) {
|
| FILE* json_file = OpenVisualizerLogFile(&info, NULL, "json", "w+");
|
| if (json_file != nullptr) {
|
| @@ -1235,11 +1240,9 @@ Handle<Code> Pipeline::GenerateCodeForCodeStub(Isolate* isolate,
|
| << "\", \"source\":\"\",\n\"phases\":[";
|
| fclose(json_file);
|
| }
|
| + pipeline.Run<PrintGraphPhase>("Machine");
|
| }
|
|
|
| - Pipeline pipeline(&info);
|
| - pipeline.data_ = &data;
|
| - pipeline.RunPrintAndVerify("Machine", true);
|
| return pipeline.ScheduleAndGenerateCode(call_descriptor);
|
| }
|
|
|
|
|