diff gen/functions.cpp @ 1018:e8c6dbcd33d1

- Fixed x86-32 C ABI for complex number return values. - Removed unused code from the ABI class.
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Sun, 01 Mar 2009 19:01:05 +0100
parents 7a0238db1962
children 9167d492cbc2
line wrap: on
line diff
--- a/gen/functions.cpp	Sun Mar 01 11:04:05 2009 +0100
+++ b/gen/functions.cpp	Sun Mar 01 19:01:05 2009 +0100
@@ -79,7 +79,7 @@
         }
         else
         {
-            if (gABI->returnInArg(rt))
+            if (gABI->returnInArg(f))
             {
                 rettype = getPtrToType(DtoType(rt));
                 actualRettype = LLType::VoidTy;