Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(363)

Unified Diff: test/cctest/compiler/test-graph-reducer.cc

Issue 727743002: Revert "[turbofan] Smartify the GraphReducer." (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/cctest/compiler/test-changes-lowering.cc ('k') | test/cctest/compiler/test-simplified-lowering.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « test/cctest/compiler/test-changes-lowering.cc ('k') | test/cctest/compiler/test-simplified-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698