forked from OSchip/llvm-project
The WebKit_JS CC preserves the same registers as the C CC.
llvm-svn: 194936
This commit is contained in:
parent
12100bf7e8
commit
565acf9278
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue