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

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

Issue 920573004: [turbofan] Fix control reducer for dead loops. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 months 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 | « src/compiler/osr.cc ('k') | test/cctest/compiler/test-osr.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/compiler/test-control-reducer.cc
diff --git a/test/cctest/compiler/test-control-reducer.cc b/test/cctest/compiler/test-control-reducer.cc
index 84b6b4bea599bac05fb8919e0e04b2bee9a0cf60..5b71df4d22d6f7123cce7dea5df29e29387aa819 100644
--- a/test/cctest/compiler/test-control-reducer.cc
+++ b/test/cctest/compiler/test-control-reducer.cc
@@ -164,8 +164,7 @@ class ControlReducerTester : HandleAndZoneScope {
}
void ReduceMerge(Node* expect, Node* merge) {
- Node* result =
- ControlReducer::ReduceMergeForTesting(&jsgraph, &common, merge);
+ Node* result = ControlReducer::ReduceMerge(&jsgraph, &common, merge);
CHECK_EQ(expect, result);
}
@@ -874,8 +873,7 @@ TEST(CMergeReduce_exhaustive_4) {
if (!selector.is_selected(i)) merge->ReplaceInput(i, R.dead);
}
- Node* result =
- ControlReducer::ReduceMergeForTesting(&R.jsgraph, &R.common, merge);
+ Node* result = ControlReducer::ReduceMerge(&R.jsgraph, &R.common, merge);
int count = selector.count;
if (count == 0) {
« no previous file with comments | « src/compiler/osr.cc ('k') | test/cctest/compiler/test-osr.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698