| Index: src/compiler/pipeline.cc
|
| diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc
|
| index 197f10058f3278d7f2d5e3b702ce0608387bbe60..776001885cab00b815a729895bf6284c3dd8b52e 100644
|
| --- a/src/compiler/pipeline.cc
|
| +++ b/src/compiler/pipeline.cc
|
| @@ -504,11 +504,11 @@ struct InliningPhase {
|
| void Run(PipelineData* data, Zone* temp_zone) {
|
| SourcePositionTable::Scope pos(data->source_positions(),
|
| SourcePosition::Unknown());
|
| - JSInliner inliner(data->info()->is_inlining_enabled()
|
| - ? JSInliner::kGeneralInlining
|
| - : JSInliner::kBuiltinsInlining,
|
| - temp_zone, data->info(), data->jsgraph());
|
| GraphReducer graph_reducer(data->graph(), temp_zone);
|
| + JSInliner inliner(&graph_reducer, data->info()->is_inlining_enabled()
|
| + ? JSInliner::kGeneralInlining
|
| + : JSInliner::kBuiltinsInlining,
|
| + temp_zone, data->info(), data->jsgraph());
|
| AddReducer(data, &graph_reducer, &inliner);
|
| graph_reducer.ReduceGraph();
|
| }
|
|
|