summaryrefslogtreecommitdiff
path: root/runtime/native_stack_dump.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/native_stack_dump.cc')
-rw-r--r--runtime/native_stack_dump.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/native_stack_dump.cc b/runtime/native_stack_dump.cc
index 23768899bd..5565565c7b 100644
--- a/runtime/native_stack_dump.cc
+++ b/runtime/native_stack_dump.cc
@@ -272,7 +272,7 @@ static bool PcIsWithinQuickCode(ArtMethod* method, uintptr_t pc) NO_THREAD_SAFET
if (code == 0) {
return pc == 0;
}
- uintptr_t code_size = reinterpret_cast<const OatQuickMethodHeader*>(code)[-1].code_size_;
+ uintptr_t code_size = reinterpret_cast<const OatQuickMethodHeader*>(code)[-1].GetCodeSize();
return code <= pc && pc <= (code + code_size);
}