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

llvm-svn: 194936
This commit is contained in:
Juergen Ributzka 2013-11-16 22:08:58 +00:00
parent 12100bf7e8
commit 565acf9278
1 changed files with 1 additions and 0 deletions

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;