diff gen/statements.cpp @ 1051:dc608dc33081

Make IrFuncTy a member of TypeFunction. Reset between modules compiled in the same LDC call.
author Christian Kamm <kamm incasoftware de>
date Sat, 07 Mar 2009 14:25:30 +0100
parents 6bb04dbee21f
children b30fe7e1dbb9
line wrap: on
line diff
--- a/gen/statements.cpp	Fri Mar 06 21:15:13 2009 +0100
+++ b/gen/statements.cpp	Sat Mar 07 14:25:30 2009 +0100
@@ -92,7 +92,7 @@
             if (global.params.symdebug) DtoDwarfStopPoint(loc.linnum);
 
             // do abi specific transformations on the return value
-            LLValue* v = p->func()->type->fty->putRet(exp->type, exp->toElem(p));
+            LLValue* v = p->func()->type->fty.putRet(exp->type, exp->toElem(p));
 
             if (Logger::enabled())
                 Logger::cout() << "return value is '" <<*v << "'\n";