summaryrefslogtreecommitdiff
path: root/runtime/thread.cc
diff options
context:
space:
mode:
author David Srbecky <dsrbecky@google.com> 2018-06-13 18:20:45 +0100
committer David Srbecky <dsrbecky@google.com> 2018-06-14 12:31:44 +0100
commite1402125e8363b49e176c6072893d1c110a05d2f (patch)
tree44ec055be78cdcb8086a598cbf791f8c4627e157 /runtime/thread.cc
parent86decb6a3e3ebba8c3c67bfd25c12d9a85794f65 (diff)
Move some helper methods to DexRegisterLocation.
Test: test-art-host-gtest-stack_map_test Change-Id: I0abab008159db023d531df69214cd3bb8c0639bd
Diffstat (limited to 'runtime/thread.cc')
-rw-r--r--runtime/thread.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/thread.cc b/runtime/thread.cc
index 4a53425477..7a7a80e4b6 100644
--- a/runtime/thread.cc
+++ b/runtime/thread.cc
@@ -3658,7 +3658,7 @@ class ReferenceMapVisitor : public StackVisitor {
REQUIRES_SHARED(Locks::mutator_lock_) {
bool found = false;
for (size_t dex_reg = 0; dex_reg != number_of_dex_registers; ++dex_reg) {
- DexRegisterLocation location = dex_register_map.GetDexRegisterLocation(dex_reg);
+ DexRegisterLocation location = dex_register_map[dex_reg];
if (location.GetKind() == kind && static_cast<size_t>(location.GetValue()) == index) {
visitor(ref, dex_reg, stack_visitor);
found = true;