summaryrefslogtreecommitdiffstats
path: root/compiler
diff options
context:
space:
mode:
authorMingyao Yang <mingyao@google.com>2015-06-19 23:45:43 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-06-19 23:45:43 +0000
commit1bd841a26a0810decbd3cd9dcc3c0dca5773dc2b (patch)
tree2a4dccd3946c8296c8d03c88d0dff6774cdc44fe /compiler
parentf0ed1f0fe2643c49997ea0e0bd04226ef7ba33fa (diff)
parent38fad4648d08d63a96f1cd3d940d84102870aeb4 (diff)
downloadart-1bd841a26a0810decbd3cd9dcc3c0dca5773dc2b.zip
art-1bd841a26a0810decbd3cd9dcc3c0dca5773dc2b.tar.gz
art-1bd841a26a0810decbd3cd9dcc3c0dca5773dc2b.tar.bz2
Merge "ART: Fix BCE lint issue" into mnc-dev
Diffstat (limited to 'compiler')
-rw-r--r--compiler/optimizing/bounds_check_elimination.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/optimizing/bounds_check_elimination.cc b/compiler/optimizing/bounds_check_elimination.cc
index bd294f0..97b3725 100644
--- a/compiler/optimizing/bounds_check_elimination.cc
+++ b/compiler/optimizing/bounds_check_elimination.cc
@@ -763,7 +763,7 @@ class MonotonicValueRange : public ValueRange {
return initial_val >= end_val;
}
} else {
- DCHECK(increment_ == -1);
+ DCHECK_EQ(increment_, -1);
if (inclusive_) {
return initial_val < end_val;
} else {
@@ -824,7 +824,7 @@ class MonotonicValueRange : public ValueRange {
cond = new (graph->GetArena()) HGreaterThanOrEqual(initial_, end_);
}
} else {
- DCHECK(increment_ == -1);
+ DCHECK_EQ(increment_, -1);
if (inclusive_) {
cond = new (graph->GetArena()) HLessThan(initial_, end_);
} else {