Index: src/compiler/pipeline.cc |
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc |
index 786e83d6e7aeeaa59a9683349abb4598a06fa5ad..979e94e1c464cba2ef6e7f6df34b4880c9e49b5c 100644 |
--- a/src/compiler/pipeline.cc |
+++ b/src/compiler/pipeline.cc |
@@ -570,7 +570,7 @@ class PipelineCompilationJob final : public CompilationJob { |
: CompilationJob(isolate, &info_, "TurboFan"), |
zone_(isolate->allocator()), |
zone_stats_(isolate->allocator()), |
- parse_info_(&zone_, function), |
+ parse_info_(&zone_, handle(function->shared())), |
info_(&parse_info_, function), |
pipeline_statistics_(CreatePipelineStatistics(info(), &zone_stats_)), |
data_(&zone_stats_, info(), pipeline_statistics_.get()), |