commit | 31c2aac7137b69d5622eea09597500731fbee2ef | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Mon Dec 09 16:31:19 2013 +0000 |
committer | Vladimir Marko <vmarko@google.com> | Mon Dec 09 16:31:19 2013 +0000 |
tree | d56043acebedb170671c90eb4d0ebb149d51d322 | |
parent | f4d4ce50947a059a979fc184139ad97def386146 [diff] [blame] |
Rename ClobberCalleeSave to *Caller*, fix it for x86. Change-Id: I6a72703a11985e2753fa9b4520c375a164301433
diff --git a/compiler/dex/quick/x86/target_x86.cc b/compiler/dex/quick/x86/target_x86.cc index 878fa76..cbd0f15 100644 --- a/compiler/dex/quick/x86/target_x86.cc +++ b/compiler/dex/quick/x86/target_x86.cc
@@ -350,10 +350,11 @@ } /* Clobber all regs that might be used by an external C call */ -void X86Mir2Lir::ClobberCalleeSave() { +void X86Mir2Lir::ClobberCallerSave() { Clobber(rAX); Clobber(rCX); Clobber(rDX); + Clobber(rBX); } RegLocation X86Mir2Lir::GetReturnWideAlt() {