Index: test/cctest/compiler/test-graph-reducer.cc |
diff --git a/test/cctest/compiler/test-graph-reducer.cc b/test/cctest/compiler/test-graph-reducer.cc |
index 576fee29e9d1df96ca79e5b2bd53161881293169..7f217d70501a11906f30037e45dde20ccad1d442 100644 |
--- a/test/cctest/compiler/test-graph-reducer.cc |
+++ b/test/cctest/compiler/test-graph-reducer.cc |
@@ -202,7 +202,7 @@ TEST(ReduceGraphFromEnd1) { |
Node* end = graph.NewNode(&OPA1, n1); |
graph.SetEnd(end); |
- GraphReducer reducer(&graph, graph.zone()); |
+ GraphReducer reducer(&graph); |
ReducerRecorder recorder(graph.zone()); |
reducer.AddReducer(&recorder); |
reducer.ReduceGraph(); |
@@ -220,7 +220,7 @@ TEST(ReduceGraphFromEnd2) { |
Node* end = graph.NewNode(&OPA2, n2, n3); |
graph.SetEnd(end); |
- GraphReducer reducer(&graph, graph.zone()); |
+ GraphReducer reducer(&graph); |
ReducerRecorder recorder(graph.zone()); |
reducer.AddReducer(&recorder); |
reducer.ReduceGraph(); |
@@ -238,7 +238,7 @@ TEST(ReduceInPlace1) { |
Node* end = graph.NewNode(&OPA1, n1); |
graph.SetEnd(end); |
- GraphReducer reducer(&graph, graph.zone()); |
+ GraphReducer reducer(&graph); |
InPlaceABReducer r; |
reducer.AddReducer(&r); |
@@ -263,7 +263,7 @@ TEST(ReduceInPlace2) { |
Node* end = graph.NewNode(&OPA2, n2, n3); |
graph.SetEnd(end); |
- GraphReducer reducer(&graph, graph.zone()); |
+ GraphReducer reducer(&graph); |
InPlaceABReducer r; |
reducer.AddReducer(&r); |
@@ -293,7 +293,7 @@ TEST(ReduceNew1) { |
Node* end = graph.NewNode(&OPA2, n2, n3); |
graph.SetEnd(end); |
- GraphReducer reducer(&graph, graph.zone()); |
+ GraphReducer reducer(&graph); |
NewABReducer r(&graph); |
reducer.AddReducer(&r); |
@@ -330,7 +330,7 @@ TEST(Wrapping1) { |
graph.SetEnd(end); |
CHECK_EQ(1, graph.NodeCount()); |
- GraphReducer reducer(&graph, graph.zone()); |
+ GraphReducer reducer(&graph); |
A0Wrapper r(&graph); |
reducer.AddReducer(&r); |
@@ -352,7 +352,7 @@ TEST(Wrapping2) { |
graph.SetEnd(end); |
CHECK_EQ(1, graph.NodeCount()); |
- GraphReducer reducer(&graph, graph.zone()); |
+ GraphReducer reducer(&graph); |
B0Wrapper r(&graph); |
reducer.AddReducer(&r); |
@@ -379,7 +379,7 @@ TEST(Forwarding1) { |
Node* end = graph.NewNode(&OPA1, n1); |
graph.SetEnd(end); |
- GraphReducer reducer(&graph, graph.zone()); |
+ GraphReducer reducer(&graph); |
A1Forwarder r; |
reducer.AddReducer(&r); |
@@ -403,7 +403,7 @@ TEST(Forwarding2) { |
Node* end = graph.NewNode(&OPA2, n2, n3); |
graph.SetEnd(end); |
- GraphReducer reducer(&graph, graph.zone()); |
+ GraphReducer reducer(&graph); |
A1Forwarder r; |
reducer.AddReducer(&r); |
@@ -434,7 +434,7 @@ TEST(Forwarding3) { |
} |
graph.SetEnd(end); |
- GraphReducer reducer(&graph, graph.zone()); |
+ GraphReducer reducer(&graph); |
A1Forwarder r; |
reducer.AddReducer(&r); |
@@ -458,7 +458,7 @@ TEST(ReduceForward1) { |
Node* end = graph.NewNode(&OPA2, n2, n3); |
graph.SetEnd(end); |
- GraphReducer reducer(&graph, graph.zone()); |
+ GraphReducer reducer(&graph); |
InPlaceABReducer r; |
B1Forwarder f; |
reducer.AddReducer(&r); |
@@ -501,7 +501,7 @@ TEST(Sorter1) { |
graph.SetEnd(end); |
- GraphReducer reducer(&graph, graph.zone()); |
+ GraphReducer reducer(&graph); |
reducer.AddReducer(&r); |
int before = graph.NodeCount(); |
@@ -560,7 +560,7 @@ TEST(SortForwardReduce) { |
GenDAG(&graph, p3, p2, p1); |
- GraphReducer reducer(&graph, graph.zone()); |
+ GraphReducer reducer(&graph); |
AB2Sorter r1; |
A1Forwarder r2; |
InPlaceABReducer r3; |
@@ -599,7 +599,7 @@ TEST(Order) { |
Node* end = graph.NewNode(&OPA1, n1); |
graph.SetEnd(end); |
- GraphReducer reducer(&graph, graph.zone()); |
+ GraphReducer reducer(&graph); |
InPlaceABReducer abr; |
InPlaceBCReducer bcr; |
if (i == 0) { |