| Index: src/compiler/pipeline.cc
|
| diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc
|
| index 2ab614e3c0df05ab8e4bf32cecf12af4954f5f78..7d05e381f295a7d52b61562b995857976a338c06 100644
|
| --- a/src/compiler/pipeline.cc
|
| +++ b/src/compiler/pipeline.cc
|
| @@ -10,6 +10,7 @@
|
| #include "src/base/platform/elapsed-timer.h"
|
| #include "src/compiler/ast-graph-builder.h"
|
| #include "src/compiler/basic-block-instrumentor.h"
|
| +#include "src/compiler/bounds-check-lowering.h"
|
| #include "src/compiler/change-lowering.h"
|
| #include "src/compiler/code-generator.h"
|
| #include "src/compiler/control-reducer.h"
|
| @@ -426,13 +427,15 @@ struct ChangeLoweringPhase {
|
| Linkage linkage(data->graph_zone(), data->info());
|
| ValueNumberingReducer vn_reducer(data->graph_zone());
|
| SimplifiedOperatorReducer simple_reducer(data->jsgraph());
|
| - ChangeLowering lowering(data->jsgraph(), &linkage);
|
| + ChangeLowering change_lowering(data->jsgraph(), &linkage);
|
| + BoundsCheckLowering bounds_check_lowering(data->jsgraph());
|
| MachineOperatorReducer mach_reducer(data->jsgraph());
|
| GraphReducer graph_reducer(data->graph(), temp_zone);
|
| // TODO(titzer): Figure out if we should run all reducers at once here.
|
| graph_reducer.AddReducer(&vn_reducer);
|
| graph_reducer.AddReducer(&simple_reducer);
|
| - graph_reducer.AddReducer(&lowering);
|
| + graph_reducer.AddReducer(&change_lowering);
|
| + graph_reducer.AddReducer(&bounds_check_lowering);
|
| graph_reducer.AddReducer(&mach_reducer);
|
| graph_reducer.ReduceGraph();
|
| }
|
|
|