The WebKit_JS CC preserves the same registers as the C CC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194936 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Juergen Ributzka 2013-11-16 22:08:58 +00:00
parent 64fa501b10
commit 0ccb37a733

View File

@ -240,6 +240,7 @@ X86RegisterInfo::getCalleeSavedRegs(const MachineFunction *MF) const {
return CSR_NoRegs_SaveList;
case CallingConv::WebKit_JS:
return CSR_64_SaveList;
case CallingConv::AnyReg:
return CSR_MostRegs_64_SaveList;