summaryrefslogtreecommitdiffstats
path: root/runtime/arch/mips/context_mips.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/arch/mips/context_mips.cc')
-rw-r--r--runtime/arch/mips/context_mips.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/arch/mips/context_mips.cc b/runtime/arch/mips/context_mips.cc
index 08ab356855..dba62d9200 100644
--- a/runtime/arch/mips/context_mips.cc
+++ b/runtime/arch/mips/context_mips.cc
@@ -38,8 +38,8 @@ void MipsContext::Reset() {
}
void MipsContext::FillCalleeSaves(const StackVisitor& fr) {
- ArtMethod* method = fr.GetMethod();
- const QuickMethodFrameInfo frame_info = method->GetQuickFrameInfo();
+ ArtCode code = fr.GetCurrentCode();
+ const QuickMethodFrameInfo frame_info = code.GetQuickFrameInfo();
int spill_pos = 0;
// Core registers come first, from the highest down to the lowest.