summaryrefslogtreecommitdiff
path: root/runtime/stack.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/stack.cc')
-rw-r--r--runtime/stack.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/stack.cc b/runtime/stack.cc
index 85b1ea0524..ce99fb9591 100644
--- a/runtime/stack.cc
+++ b/runtime/stack.cc
@@ -81,9 +81,9 @@ ArtMethod* StackVisitor::GetMethod() const {
} else if (cur_quick_frame_ != nullptr) {
if (IsInInlinedFrame()) {
const OatQuickMethodHeader* method_header = GetCurrentOatQuickMethodHeader();
- MethodInfo method_info = method_header->GetOptimizedMethodInfo();
+ CodeInfo code_info(method_header);
DCHECK(walk_kind_ != StackWalkKind::kSkipInlinedFrames);
- return GetResolvedMethod(*GetCurrentQuickFrame(), method_info, current_inline_frames_);
+ return GetResolvedMethod(*GetCurrentQuickFrame(), code_info, current_inline_frames_);
} else {
return *cur_quick_frame_;
}