summaryrefslogtreecommitdiffstats
path: root/compiler
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2015-06-10 18:33:26 -0700
committerMingyao Yang <mingyao@google.com>2015-06-19 16:43:59 -0700
commit38fad4648d08d63a96f1cd3d940d84102870aeb4 (patch)
tree704580e7a077f854d2e879eef26f96fd4b2351e9 /compiler
parent31fa4b57132a2352630b599b4da7e69f77376dcb (diff)
downloadart-38fad4648d08d63a96f1cd3d940d84102870aeb4.zip
art-38fad4648d08d63a96f1cd3d940d84102870aeb4.tar.gz
art-38fad4648d08d63a96f1cd3d940d84102870aeb4.tar.bz2
ART: Fix BCE lint issue
Bug: 21034044 (cherry picked from commit 45d68f138a31a3ff9b45cda313f0ba27f1431f26) Change-Id: I7f382a3124955eff5c0b96ca39ec67fb658fa3d0
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 {