Chromium Code Reviews| Index: src/compiler/pipeline.cc |
| diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc |
| index 04301c8c1d13d8d2f6345075a41400acd286ade5..eab40400f4b30a3baaf7b0b5d4697302b3515a2c 100644 |
| --- a/src/compiler/pipeline.cc |
| +++ b/src/compiler/pipeline.cc |
| @@ -25,6 +25,7 @@ |
| #include "src/compiler/instruction.h" |
| #include "src/compiler/instruction-selector.h" |
| #include "src/compiler/js-builtin-reducer.h" |
| +#include "src/compiler/js-context-relaxation.h" |
| #include "src/compiler/js-context-specialization.h" |
| #include "src/compiler/js-frame-specialization.h" |
| #include "src/compiler/js-generic-lowering.h" |
| @@ -704,6 +705,7 @@ struct GenericLoweringPhase { |
| void Run(PipelineData* data, Zone* temp_zone) { |
| JSGraphReducer graph_reducer(data->jsgraph(), temp_zone); |
| + JSContextRelaxation relaxing; |
| DeadCodeElimination dead_code_elimination(&graph_reducer, data->graph(), |
| data->common()); |
| CommonOperatorReducer common_reducer(&graph_reducer, data->graph(), |
| @@ -713,6 +715,7 @@ struct GenericLoweringPhase { |
| SelectLowering select_lowering(data->jsgraph()->graph(), |
| data->jsgraph()->common()); |
| TailCallOptimization tco(data->common(), data->graph()); |
| + AddReducer(data, &graph_reducer, &relaxing); |
|
Michael Starzinger
2015/07/20 08:09:49
nit: s/relxing/context_relaxing/
danno
2015/07/20 15:27:33
Done
|
| AddReducer(data, &graph_reducer, &dead_code_elimination); |
| AddReducer(data, &graph_reducer, &common_reducer); |
| AddReducer(data, &graph_reducer, &generic_lowering); |