Fix core spill mask for x86 special suspend.
Bug: 19445246
Change-Id: I7dd734e64a4bfa5980fa1be9903e3fd0c2be3749
diff --git a/compiler/dex/quick/x86/call_x86.cc b/compiler/dex/quick/x86/call_x86.cc
index f964691..c3db3a6 100644
--- a/compiler/dex/quick/x86/call_x86.cc
+++ b/compiler/dex/quick/x86/call_x86.cc
@@ -280,7 +280,7 @@
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());