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

Unified Diff: runtime/vm/flow_graph_optimizer.cc

Issue 328503003: Extend Range analysis to 64-bit range and mint operations (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 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 | « no previous file | runtime/vm/intermediate_language.h » ('j') | runtime/vm/intermediate_language.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_optimizer.cc
diff --git a/runtime/vm/flow_graph_optimizer.cc b/runtime/vm/flow_graph_optimizer.cc
index 1dc4c07e246291cedad321ac6cac4cb1d684df78..e37d94b2629b14d129e57d12dc7aa07739cf6086 100644
--- a/runtime/vm/flow_graph_optimizer.cc
+++ b/runtime/vm/flow_graph_optimizer.cc
@@ -4970,9 +4970,9 @@ RangeAnalysis::Direction RangeAnalysis::ToDirection(Value* val) {
: kNegative;
} else if (val->definition()->range() != NULL) {
Range* range = val->definition()->range();
- if (Range::ConstantMin(range).value() >= 0) {
+ if (Range::ConstantMin(range).Value() >= 0) {
return kPositive;
- } else if (Range::ConstantMax(range).value() <= 0) {
+ } else if (Range::ConstantMax(range).Value() <= 0) {
return kNegative;
}
}
« no previous file with comments | « no previous file | runtime/vm/intermediate_language.h » ('j') | runtime/vm/intermediate_language.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698