summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--compiler/dex/quick/x86/call_x86.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/dex/quick/x86/call_x86.cc b/compiler/dex/quick/x86/call_x86.cc
index f964691dac..c3db3a64e5 100644
--- a/compiler/dex/quick/x86/call_x86.cc
+++ b/compiler/dex/quick/x86/call_x86.cc
@@ -280,7 +280,7 @@ void X86Mir2Lir::GenSpecialEntryForSuspend() {
DCHECK(!IsTemp(rs_rSI));
DCHECK(!IsTemp(rs_rDI));
core_spill_mask_ =
- (1u << rs_rSI.GetRegNum()) | (1u << rs_rSI.GetRegNum()) | (1u << rs_rRET.GetRegNum());
+ (1u << rs_rDI.GetRegNum()) | (1u << rs_rSI.GetRegNum()) | (1u << rs_rRET.GetRegNum());
num_core_spills_ = 3u;
} else {
core_spill_mask_ = (1u << rs_rRET.GetRegNum());