mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-07-09 08:54:09 +02:00
Eliminate the need for TypeFunction::funcdecl
This commit is contained in:
@@ -92,9 +92,8 @@ struct X86TargetABI : TargetABI
|
||||
return t->toBasetype()->ty == Tstruct || t->toBasetype()->ty == Tsarray;
|
||||
}
|
||||
|
||||
void rewriteFunctionType(TypeFunction* tf)
|
||||
void rewriteFunctionType(TypeFunction* tf, IrFuncTy &fty)
|
||||
{
|
||||
IrFuncTy& fty = tf->fty;
|
||||
Type* rt = fty.ret->type->toBasetype();
|
||||
|
||||
// extern(D)
|
||||
|
||||
Reference in New Issue
Block a user