summaryrefslogtreecommitdiffstats
path: root/runtime/stack.cc
diff options
context:
space:
mode:
authorNicolas Geoffray <ngeoffray@google.com>2014-04-22 11:03:52 +0000
committerNicolas Geoffray <ngeoffray@google.com>2014-05-02 10:44:52 +0100
commit42fcd9838a87abaf7a2ef86853a5287f86dbe391 (patch)
treed8ffcfcb9c1997c06c6ef93b551abaa900ebcf8e /runtime/stack.cc
parent608168b380b741e2c7e1a2b0b568c0738986166b (diff)
downloadart-42fcd9838a87abaf7a2ef86853a5287f86dbe391.zip
art-42fcd9838a87abaf7a2ef86853a5287f86dbe391.tar.gz
art-42fcd9838a87abaf7a2ef86853a5287f86dbe391.tar.bz2
Revert "Revert "64bit changes to the stack walker for the Quick ABI.""
This reverts commit 8d5ead52a92675c258113d3dfa71bf8fceba5d9f. Change-Id: I6b4774a9bd180de33551975e106322ba1192e6ab
Diffstat (limited to 'runtime/stack.cc')
-rw-r--r--runtime/stack.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/stack.cc b/runtime/stack.cc
index ab3bd85..9c709ae 100644
--- a/runtime/stack.cc
+++ b/runtime/stack.cc
@@ -187,7 +187,7 @@ void StackVisitor::SetVReg(mirror::ArtMethod* m, uint16_t vreg, uint32_t new_val
uint32_t core_spills = m->GetCoreSpillMask();
uint32_t fp_spills = m->GetFpSpillMask();
size_t frame_size = m->GetFrameSizeInBytes();
- int offset = GetVRegOffset(code_item, core_spills, fp_spills, frame_size, vreg);
+ int offset = GetVRegOffset(code_item, core_spills, fp_spills, frame_size, vreg, kRuntimeISA);
byte* vreg_addr = reinterpret_cast<byte*>(GetCurrentQuickFrame()) + offset;
*reinterpret_cast<uint32_t*>(vreg_addr) = new_value;
}