Index: test/cctest/compiler/test-js-typed-lowering.cc |
diff --git a/test/cctest/compiler/test-js-typed-lowering.cc b/test/cctest/compiler/test-js-typed-lowering.cc |
index 058c0ee903602857cdf256fedd954b1ddd0c4d5d..64abe5922ac59ca8cbda92c60a0f2870f4d18887 100644 |
--- a/test/cctest/compiler/test-js-typed-lowering.cc |
+++ b/test/cctest/compiler/test-js-typed-lowering.cc |
@@ -90,7 +90,7 @@ class JSTypedLoweringTester : public HandleAndZoneScope { |
Node* reduce(Node* node) { |
JSGraph jsgraph(main_isolate(), &graph, &common, &javascript, &machine); |
// TODO(titzer): mock the GraphReducer here for better unit testing. |
- GraphReducer graph_reducer(&graph, main_zone()); |
+ GraphReducer graph_reducer(main_zone(), &graph); |
JSTypedLowering reducer(&graph_reducer, &jsgraph, main_zone()); |
Reduction reduction = reducer.Reduce(node); |
if (reduction.Changed()) return reduction.replacement(); |