mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-10 22:00:58 +00:00
x86-Win32: Switch ftol2 calling convention from stdcall to C.
llvm-svn: 117474
This commit is contained in:
parent
bf82646290
commit
5518dda87e
@ -104,8 +104,8 @@ X86TargetLowering::X86TargetLowering(X86TargetMachine &TM)
|
||||
setLibcallName(RTLIB::FPTOUINT_F32_I64, "_ftol2");
|
||||
setLibcallCallingConv(RTLIB::SDIV_I64, CallingConv::X86_StdCall);
|
||||
setLibcallCallingConv(RTLIB::UDIV_I64, CallingConv::X86_StdCall);
|
||||
setLibcallCallingConv(RTLIB::FPTOUINT_F64_I64, CallingConv::X86_StdCall);
|
||||
setLibcallCallingConv(RTLIB::FPTOUINT_F32_I64, CallingConv::X86_StdCall);
|
||||
setLibcallCallingConv(RTLIB::FPTOUINT_F64_I64, CallingConv::C);
|
||||
setLibcallCallingConv(RTLIB::FPTOUINT_F32_I64, CallingConv::C);
|
||||
}
|
||||
|
||||
if (Subtarget->isTargetDarwin()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user