diff options
| author | 2015-06-10 18:33:26 -0700 | |
|---|---|---|
| committer | 2015-06-10 18:33:26 -0700 | |
| commit | 45d68f138a31a3ff9b45cda313f0ba27f1431f26 (patch) | |
| tree | 478708c47f348044dce946985969f50137512389 /compiler/optimizing | |
| parent | bc8a8eeac27e9681fc89f6c819d7296a2b007e73 (diff) | |
ART: Fix BCE lint issue
Change-Id: I7f382a3124955eff5c0b96ca39ec67fb658fa3d0
Diffstat (limited to 'compiler/optimizing')
| -rw-r--r-- | compiler/optimizing/bounds_check_elimination.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/optimizing/bounds_check_elimination.cc b/compiler/optimizing/bounds_check_elimination.cc index f8550c2b47..9d5e3fdca1 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 { |