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

Unified Diff: test/unittests/compiler/dead-code-elimination-unittest.cc

Issue 2207533002: [turbofan] Remove IfExceptionHint from exception projections. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased. Created 4 years, 4 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
Index: test/unittests/compiler/dead-code-elimination-unittest.cc
diff --git a/test/unittests/compiler/dead-code-elimination-unittest.cc b/test/unittests/compiler/dead-code-elimination-unittest.cc
index df93f25302f17900328ae6142f78b0badbe50e8f..d0351bf5f511d53f7f8f229857d3a073b33961e8 100644
--- a/test/unittests/compiler/dead-code-elimination-unittest.cc
+++ b/test/unittests/compiler/dead-code-elimination-unittest.cc
@@ -124,15 +124,11 @@ TEST_F(DeadCodeEliminationTest, IfSuccessWithDeadInput) {
TEST_F(DeadCodeEliminationTest, IfExceptionWithDeadControlInput) {
- IfExceptionHint const kHints[] = {IfExceptionHint::kLocallyCaught,
- IfExceptionHint::kLocallyUncaught};
- TRACED_FOREACH(IfExceptionHint, hint, kHints) {
- Reduction const r =
- Reduce(graph()->NewNode(common()->IfException(hint), graph()->start(),
- graph()->NewNode(common()->Dead())));
- ASSERT_TRUE(r.Changed());
- EXPECT_THAT(r.replacement(), IsDead());
- }
+ Reduction const r =
+ Reduce(graph()->NewNode(common()->IfException(), graph()->start(),
+ graph()->NewNode(common()->Dead())));
+ ASSERT_TRUE(r.Changed());
+ EXPECT_THAT(r.replacement(), IsDead());
}
« no previous file with comments | « test/unittests/compiler/common-operator-unittest.cc ('k') | test/unittests/compiler/graph-reducer-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698