mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-05 01:20:51 +03:00
- Fixed x86-32 C ABI for complex number return values.
- Removed unused code from the ABI class.
This commit is contained in:
parent
757601af09
commit
61dfb11bc5
7 changed files with 110 additions and 36 deletions
|
@ -79,7 +79,7 @@ const llvm::FunctionType* DtoFunctionType(Type* type, const LLType* thistype, co
|
|||
}
|
||||
else
|
||||
{
|
||||
if (gABI->returnInArg(rt))
|
||||
if (gABI->returnInArg(f))
|
||||
{
|
||||
rettype = getPtrToType(DtoType(rt));
|
||||
actualRettype = LLType::VoidTy;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue