summaryrefslogtreecommitdiffstats
path: root/compiler/dex/quick/x86
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2015-02-20 14:53:53 +0000
committerVladimir Marko <vmarko@google.com>2015-02-20 14:59:43 +0000
commitd7a5e553e0ee0a2090c719312f7d24dae3746cec (patch)
tree82a9690535f5629a0102c182e005382373299294 /compiler/dex/quick/x86
parente90ccca801a3b7bda094ee0cc145fc62afd8d718 (diff)
downloadandroid_art-d7a5e553e0ee0a2090c719312f7d24dae3746cec.tar.gz
android_art-d7a5e553e0ee0a2090c719312f7d24dae3746cec.tar.bz2
android_art-d7a5e553e0ee0a2090c719312f7d24dae3746cec.zip
Fix core spill mask for x86 special suspend.
Bug: 19445246 Change-Id: I7dd734e64a4bfa5980fa1be9903e3fd0c2be3749
Diffstat (limited to 'compiler/dex/quick/x86')
-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());