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

Unified Diff: runtime/vm/flow_graph_range_analysis_test.cc

Issue 794713002: Fix vm/cc/RangeAnd test (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_range_analysis_test.cc
diff --git a/runtime/vm/flow_graph_range_analysis_test.cc b/runtime/vm/flow_graph_range_analysis_test.cc
index 4b38b44c2133d7e417e4672f22bb1514793961b3..308b1ce6edeff291d49fd04936110534a3f406b2 100644
--- a/runtime/vm/flow_graph_range_analysis_test.cc
+++ b/runtime/vm/flow_graph_range_analysis_test.cc
@@ -526,14 +526,13 @@ TEST_CASE(RangeAnd) {
RangeBoundary(0),
RangeBoundary(static_cast<int64_t>(0xffffffff)));
- // Test that [-20, 20] & [-20, 20] = [Unknown, Unknown].
+ // Test that [-20, 20] & [-20, 20] = [-32, 31].
TEST_RANGE_AND(static_cast<int64_t>(-20),
static_cast<int64_t>(20),
static_cast<int64_t>(-20),
static_cast<int64_t>(20),
- RangeBoundary::MinConstant(RangeBoundary::kRangeBoundaryInt64),
- RangeBoundary::MaxConstant(
- RangeBoundary::kRangeBoundaryInt64));
+ RangeBoundary(-32),
+ RangeBoundary(31));
#undef TEST_RANGE_AND
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698