summaryrefslogtreecommitdiffstats
path: root/runtime/stack.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/stack.h')
-rw-r--r--runtime/stack.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/stack.h b/runtime/stack.h
index 6a62922..f840f67 100644
--- a/runtime/stack.h
+++ b/runtime/stack.h
@@ -532,7 +532,7 @@ class StackVisitor {
DCHECK(GetMethod() != nullptr);
byte* save_addr =
reinterpret_cast<byte*>(cur_quick_frame_) + frame_size - ((num + 1) * kPointerSize);
-#if defined(__i386__)
+#if defined(__i386__) || defined(__x86_64__)
save_addr -= kPointerSize; // account for return address
#endif
return reinterpret_cast<uintptr_t*>(save_addr);