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

Unified Diff: test/compiler-unittests/simplified-operator-reducer-unittest.cc

Issue 513803002: Fix expectations of lowering tests. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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
« no previous file with comments | « test/compiler-unittests/graph-unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/compiler-unittests/simplified-operator-reducer-unittest.cc
diff --git a/test/compiler-unittests/simplified-operator-reducer-unittest.cc b/test/compiler-unittests/simplified-operator-reducer-unittest.cc
index 500e3061c7c747c088930b194a7578714219e7db..8902484c8cb05470e8c6ee3ef89cb231b21e98a8 100644
--- a/test/compiler-unittests/simplified-operator-reducer-unittest.cc
+++ b/test/compiler-unittests/simplified-operator-reducer-unittest.cc
@@ -364,7 +364,7 @@ TEST_F(SimplifiedOperatorReducerTest,
simplified()->ChangeTaggedToInt32(),
graph()->NewNode(simplified()->ChangeFloat64ToTagged(), param0)));
ASSERT_TRUE(reduction.Changed());
- EXPECT_THAT(reduction.replacement(), IsTruncateFloat64ToInt32(param0));
+ EXPECT_THAT(reduction.replacement(), IsChangeFloat64ToInt32(param0));
}
@@ -418,7 +418,7 @@ TEST_F(SimplifiedOperatorReducerTest,
simplified()->ChangeTaggedToUint32(),
graph()->NewNode(simplified()->ChangeFloat64ToTagged(), param0)));
ASSERT_TRUE(reduction.Changed());
- EXPECT_THAT(reduction.replacement(), IsTruncateFloat64ToInt32(param0));
+ EXPECT_THAT(reduction.replacement(), IsChangeFloat64ToUint32(param0));
}
« no previous file with comments | « test/compiler-unittests/graph-unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698