summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2014-09-16 14:52:54 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-09-16 14:52:55 +0000
commit5733b35c23792834f3a2374003c109301a48867c (patch)
tree9f625e70eb5c8ebe7abc614517bb490c7e1b5cfd
parent3d2d7fb7ad24f4aec681ddc68a9565fa837b97ef (diff)
parent1127b127b688c754585cd1c07ede486a0869d0c6 (diff)
downloadart-5733b35c23792834f3a2374003c109301a48867c.tar.gz
art-5733b35c23792834f3a2374003c109301a48867c.tar.bz2
art-5733b35c23792834f3a2374003c109301a48867c.zip
Merge "ART: fix highest PC values removal in SrcMap.DeltaFormat()"
-rw-r--r--compiler/compiled_method.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/compiled_method.h b/compiler/compiled_method.h
index 3e3414483..cc46b92dc 100644
--- a/compiler/compiled_method.h
+++ b/compiler/compiled_method.h
@@ -154,7 +154,7 @@ class SrcMap FINAL : public std::vector<SrcMapElem> {
// get rid of the highest values
size_t i = size() - 1;
for (; i > 0 ; i--) {
- if ((*this)[i].from_ >= highest_pc) {
+ if ((*this)[i].from_ < highest_pc) {
break;
}
}