Index: src/compiler/pipeline.cc |
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc |
index 067cd7dc53bb6e1340281fa04e4a5499377c7a76..271c031429d0629c49c253c3b23c111f2b30611a 100644 |
--- a/src/compiler/pipeline.cc |
+++ b/src/compiler/pipeline.cc |
@@ -799,7 +799,7 @@ struct InliningPhase { |
JSContextSpecialization context_specialization( |
&graph_reducer, data->jsgraph(), |
data->info()->is_function_context_specializing() |
- ? data->info()->context() |
+ ? handle(data->info()->context()) |
: MaybeHandle<Context>()); |
JSFrameSpecialization frame_specialization(data->info()->osr_frame(), |
data->jsgraph()); |