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

Unified Diff: runtime/vm/flow_graph_range_analysis.cc

Issue 633203002: Fix clang based build after r40969. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 2 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') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_range_analysis.cc
diff --git a/runtime/vm/flow_graph_range_analysis.cc b/runtime/vm/flow_graph_range_analysis.cc
index bacef6b86e01051b3583b85912d617eb6912213c..ed335dab73c5c99d3f5d62f2eb6dc8ea2aab8bdf 100644
--- a/runtime/vm/flow_graph_range_analysis.cc
+++ b/runtime/vm/flow_graph_range_analysis.cc
@@ -128,11 +128,11 @@ static ConstraintInstr* FindBoundingConstraint(PhiInstr* phi,
static InductionVariableInfo* DetectSimpleInductionVariable(PhiInstr* phi) {
if (phi->Type()->ToCid() != kSmiCid) {
- return false;
+ return NULL;
}
if (phi->InputCount() != 2) {
- return false;
+ return NULL;
}
BitVector* loop_info = phi->block()->loop_info();
« no previous file with comments | « no previous file | runtime/vm/intermediate_language.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698