| Index: src/compiler/pipeline.cc
|
| diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc
|
| index a8f0c8905ffe5b307774395c8a9a14243575158e..b410c3a47a49a8e023f531ccfe7bb79903c580a9 100644
|
| --- a/src/compiler/pipeline.cc
|
| +++ b/src/compiler/pipeline.cc
|
| @@ -799,7 +799,10 @@ struct InliningPhase {
|
| &graph_reducer, data->jsgraph(),
|
| data->info()->is_function_context_specializing()
|
| ? handle(data->info()->context())
|
| - : MaybeHandle<Context>());
|
| + : MaybeHandle<Context>(),
|
| + data->info()->is_function_context_specializing()
|
| + ? data->info()->closure()
|
| + : MaybeHandle<JSFunction>());
|
| JSFrameSpecialization frame_specialization(
|
| &graph_reducer, data->info()->osr_frame(), data->jsgraph());
|
| JSNativeContextSpecialization::Flags flags =
|
|
|