summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2014-02-27 14:21:41 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-02-27 14:21:42 +0000
commit95c2e440582f31f77a047797a5e2be4af53a8bfa (patch)
tree12a7ee32ff97c82cb86dc52b5a6fe66ca16ca37a
parentb565506a63e75dac4a8bb9dd54dabf5259e5b95f (diff)
parent12d16ad924836cad46419a0f7eb57e13363139ef (diff)
downloadart-95c2e440582f31f77a047797a5e2be4af53a8bfa.zip
art-95c2e440582f31f77a047797a5e2be4af53a8bfa.tar.gz
art-95c2e440582f31f77a047797a5e2be4af53a8bfa.tar.bz2
Merge "Clean up MappingTable::FirstDexToPcPtr()."
-rw-r--r--runtime/mapping_table.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/mapping_table.h b/runtime/mapping_table.h
index a82bc1c..79e6e94 100644
--- a/runtime/mapping_table.h
+++ b/runtime/mapping_table.h
@@ -56,8 +56,8 @@ class MappingTable {
// We must have dex to pc entries or else the loop will go beyond the end of the table.
DCHECK_GT(total_size, pc_to_dex_size);
for (uint32_t i = 0; i < pc_to_dex_size; ++i) {
- DecodeUnsignedLeb128(&table); // Move ptr past native PC.
- DecodeUnsignedLeb128(&table); // Move ptr past dex PC.
+ DecodeUnsignedLeb128(&table); // Move ptr past native PC delta.
+ DecodeSignedLeb128(&table); // Move ptr past dex PC delta.
}
}
return table;