- Fixed x86-32 C ABI for complex number return values.

- Removed unused code from the ABI class.
This commit is contained in:
Tomas Lindquist Olsen 2009-03-01 19:01:05 +01:00
parent 757601af09
commit 61dfb11bc5
7 changed files with 110 additions and 36 deletions

View file

@ -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;