Index: src/compiler/pipeline.cc |
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc |
index 53a0afc8c5cdd137d242e7bb7f8d49e8e7162c48..3fdf826543557d2ed745635e0fe91740e6719f12 100644 |
--- a/src/compiler/pipeline.cc |
+++ b/src/compiler/pipeline.cc |
@@ -384,13 +384,12 @@ Handle<Code> Pipeline::GenerateCode() { |
{ |
// Lower JSOperators where we can determine types. |
PhaseScope phase_scope(pipeline_statistics.get(), "typed lowering"); |
- ZonePool::Scope zone_scope(data.zone_pool()); |
SourcePositionTable::Scope pos(data.source_positions(), |
SourcePosition::Unknown()); |
ValueNumberingReducer vn_reducer(data.graph_zone()); |
JSTypedLowering lowering(data.jsgraph()); |
SimplifiedOperatorReducer simple_reducer(data.jsgraph()); |
- GraphReducer graph_reducer(data.graph(), zone_scope.zone()); |
+ GraphReducer graph_reducer(data.graph()); |
graph_reducer.AddReducer(&vn_reducer); |
graph_reducer.AddReducer(&lowering); |
graph_reducer.AddReducer(&simple_reducer); |
@@ -401,14 +400,13 @@ Handle<Code> Pipeline::GenerateCode() { |
{ |
// Lower simplified operators and insert changes. |
PhaseScope phase_scope(pipeline_statistics.get(), "simplified lowering"); |
- ZonePool::Scope zone_scope(data.zone_pool()); |
SourcePositionTable::Scope pos(data.source_positions(), |
SourcePosition::Unknown()); |
SimplifiedLowering lowering(data.jsgraph()); |
lowering.LowerAllNodes(); |
ValueNumberingReducer vn_reducer(data.graph_zone()); |
SimplifiedOperatorReducer simple_reducer(data.jsgraph()); |
- GraphReducer graph_reducer(data.graph(), zone_scope.zone()); |
+ GraphReducer graph_reducer(data.graph()); |
graph_reducer.AddReducer(&vn_reducer); |
graph_reducer.AddReducer(&simple_reducer); |
graph_reducer.ReduceGraph(); |
@@ -418,7 +416,6 @@ Handle<Code> Pipeline::GenerateCode() { |
{ |
// Lower changes that have been inserted before. |
PhaseScope phase_scope(pipeline_statistics.get(), "change lowering"); |
- ZonePool::Scope zone_scope(data.zone_pool()); |
SourcePositionTable::Scope pos(data.source_positions(), |
SourcePosition::Unknown()); |
Linkage linkage(data.graph_zone(), info()); |
@@ -426,7 +423,7 @@ Handle<Code> Pipeline::GenerateCode() { |
SimplifiedOperatorReducer simple_reducer(data.jsgraph()); |
ChangeLowering lowering(data.jsgraph(), &linkage); |
MachineOperatorReducer mach_reducer(data.jsgraph()); |
- GraphReducer graph_reducer(data.graph(), zone_scope.zone()); |
+ GraphReducer graph_reducer(data.graph()); |
// TODO(titzer): Figure out if we should run all reducers at once here. |
graph_reducer.AddReducer(&vn_reducer); |
graph_reducer.AddReducer(&simple_reducer); |
@@ -454,12 +451,11 @@ Handle<Code> Pipeline::GenerateCode() { |
{ |
// Lower any remaining generic JSOperators. |
PhaseScope phase_scope(pipeline_statistics.get(), "generic lowering"); |
- ZonePool::Scope zone_scope(data.zone_pool()); |
SourcePositionTable::Scope pos(data.source_positions(), |
SourcePosition::Unknown()); |
JSGenericLowering generic(info(), data.jsgraph()); |
SelectLowering select(data.jsgraph()->graph(), data.jsgraph()->common()); |
- GraphReducer graph_reducer(data.graph(), zone_scope.zone()); |
+ GraphReducer graph_reducer(data.graph()); |
graph_reducer.AddReducer(&generic); |
graph_reducer.AddReducer(&select); |
graph_reducer.ReduceGraph(); |