diff options
Diffstat (limited to 'oatdump/oatdump.cc')
-rw-r--r-- | oatdump/oatdump.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/oatdump/oatdump.cc b/oatdump/oatdump.cc index becb827d20..e7670230e5 100644 --- a/oatdump/oatdump.cc +++ b/oatdump/oatdump.cc @@ -2210,13 +2210,13 @@ class ImageDumper { ScopedIndentation indent2(&state->vios_); auto* resolved_fields = dex_cache->GetResolvedFields(); for (size_t i = 0, length = dex_cache->NumResolvedFields(); i < length; ++i) { - auto* elem = mirror::DexCache::GetElementPtrSize( - resolved_fields, i, image_pointer_size); + auto* elem = mirror::DexCache::GetNativePairPtrSize( + resolved_fields, i, image_pointer_size).object; size_t run = 0; for (size_t j = i + 1; - j != length && elem == mirror::DexCache::GetElementPtrSize(resolved_fields, - j, - image_pointer_size); + j != length && + elem == mirror::DexCache::GetNativePairPtrSize( + resolved_fields, j, image_pointer_size).object; ++j) { ++run; } |