Index: src/compiler/pipeline.cc |
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc |
index 2669b18b529b8902764095c4a9273146ea732798..354aa9dda4183fe417f64d611cc3876a07af6a03 100644 |
--- a/src/compiler/pipeline.cc |
+++ b/src/compiler/pipeline.cc |
@@ -301,9 +301,13 @@ Handle<Code> Pipeline::GenerateCode() { |
"typed lowering"); |
SourcePositionTable::Scope pos(&source_positions, |
SourcePosition::Unknown()); |
+ ValueNumberingReducer vn_reducer(zone()); |
JSTypedLowering lowering(&jsgraph); |
+ SimplifiedOperatorReducer simple_reducer(&jsgraph); |
GraphReducer graph_reducer(&graph); |
+ graph_reducer.AddReducer(&vn_reducer); |
graph_reducer.AddReducer(&lowering); |
+ graph_reducer.AddReducer(&simple_reducer); |
graph_reducer.ReduceGraph(); |
VerifyAndPrintGraph(&graph, "Lowered typed"); |