mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-06 06:53:16 +01:00
Eliminate the need for TypeFunction::funcdecl
This commit is contained in:
@@ -117,7 +117,7 @@ void ReturnStatement::toIR(IRState* p)
|
||||
dval = ae->toElemDtor(p);
|
||||
}
|
||||
// do abi specific transformations on the return value
|
||||
v = p->func()->type->fty.putRet(exp->type, dval);
|
||||
v = p->func()->decl->irFty.putRet(exp->type, dval);
|
||||
}
|
||||
|
||||
if (Logger::enabled())
|
||||
|
||||
Reference in New Issue
Block a user