| Index: src/compiler/pipeline.cc
|
| diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc
|
| index fd79a865e2403b423ab819043bdceb7443dfda8c..209ddfdf0da243c8c62cf6667cddb53e16a0054f 100644
|
| --- a/src/compiler/pipeline.cc
|
| +++ b/src/compiler/pipeline.cc
|
| @@ -504,9 +504,10 @@ struct InliningPhase {
|
| CommonOperatorReducer common_reducer(&graph_reducer, data->graph(),
|
| data->common(), data->machine());
|
| JSContextSpecialization context_specialization(
|
| - &graph_reducer, data->jsgraph(), data->info()->is_context_specializing()
|
| - ? data->info()->context()
|
| - : MaybeHandle<Context>());
|
| + &graph_reducer, data->jsgraph(),
|
| + data->info()->is_function_context_specializing()
|
| + ? data->info()->context()
|
| + : MaybeHandle<Context>());
|
| JSFrameSpecialization frame_specialization(data->info()->osr_frame(),
|
| data->jsgraph());
|
| JSInliner inliner(&graph_reducer, data->info()->is_inlining_enabled()
|
|
|