summaryrefslogtreecommitdiffstats
path: root/runtime/stack.cc
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2014-09-22 22:51:09 -0700
committerIan Rogers <irogers@google.com>2014-10-20 16:01:28 -0700
commit1d8cdbc5202378a5f1a4b3a1fba610675ed4dcd5 (patch)
tree6a1b0f49aee5a97b513bd0becc734d284aa7fb65 /runtime/stack.cc
parent1c1786f193323d3bd706463894001117f3471595 (diff)
downloadart-1d8cdbc5202378a5f1a4b3a1fba610675ed4dcd5.zip
art-1d8cdbc5202378a5f1a4b3a1fba610675ed4dcd5.tar.gz
art-1d8cdbc5202378a5f1a4b3a1fba610675ed4dcd5.tar.bz2
Refactor quick entrypoints
Remove FinishCalleeSaveFrameSetup. Assembly routines write down anchor into TLS as well as placing runtime method in callee save frame. Simplify artSet64InstanceFromCode by not computing the referrer from the stack in the C++ code. Move assembly offset tests next to constant declaration and tidy arch_test. Change-Id: Iededeebc05e54a1e2bb7bb3572b8ba012cffa1c8
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 b4e85e2..0cdc984 100644
--- a/runtime/stack.cc
+++ b/runtime/stack.cc
@@ -526,7 +526,7 @@ void StackVisitor::WalkStack(bool include_transitions) {
current_fragment = current_fragment->GetLink()) {
cur_shadow_frame_ = current_fragment->GetTopShadowFrame();
cur_quick_frame_ = current_fragment->GetTopQuickFrame();
- cur_quick_frame_pc_ = current_fragment->GetTopQuickFramePc();
+ cur_quick_frame_pc_ = 0;
if (cur_quick_frame_ != NULL) { // Handle quick stack frames.
// Can't be both a shadow and a quick fragment.