Index: src/compiler/wasm-compiler.cc |
diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc |
index ba74a3c2cea3395c09c90bcb45c67d73931746ec..109bfedd364f57069b811099b9b98136d981049c 100644 |
--- a/src/compiler/wasm-compiler.cc |
+++ b/src/compiler/wasm-compiler.cc |
@@ -1987,9 +1987,9 @@ |
typer.Run(roots); |
// Run generic and change lowering. |
+ JSGenericLowering generic(true, &jsgraph); |
+ ChangeLowering changes(&jsgraph); |
GraphReducer graph_reducer(&zone, &graph, jsgraph.Dead()); |
- JSGenericLowering generic(true, &jsgraph); |
- ChangeLowering changes(&graph_reducer, &jsgraph); |
graph_reducer.AddReducer(&changes); |
graph_reducer.AddReducer(&generic); |
graph_reducer.ReduceGraph(); |
@@ -2052,9 +2052,9 @@ |
typer.Run(roots); |
// Run generic and change lowering. |
+ JSGenericLowering generic(true, &jsgraph); |
+ ChangeLowering changes(&jsgraph); |
GraphReducer graph_reducer(&zone, &graph, jsgraph.Dead()); |
- JSGenericLowering generic(true, &jsgraph); |
- ChangeLowering changes(&graph_reducer, &jsgraph); |
graph_reducer.AddReducer(&changes); |
graph_reducer.AddReducer(&generic); |
graph_reducer.ReduceGraph(); |