mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-03-24 21:01:49 +01:00
Make IrFuncTy a member of TypeFunction. Reset between modules compiled in the
same LDC call.
This commit is contained in:
@@ -92,7 +92,7 @@ void ReturnStatement::toIR(IRState* p)
|
||||
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";
|
||||
|
||||
Reference in New Issue
Block a user