mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-09 12:32:33 +03:00
Win64 ABI hotfix
This commit is contained in:
parent
8b43678387
commit
c64070c09e
1 changed files with 4 additions and 1 deletions
|
@ -173,7 +173,10 @@ bool Win64TargetABI::returnInArg(TypeFunction* tf)
|
|||
bool Win64TargetABI::passByVal(Type* t)
|
||||
{
|
||||
t = t->toBasetype();
|
||||
return isPassedWithByvalSemantics(t);
|
||||
|
||||
// FIXME: LLVM doesn't support ByVal on Win64 yet
|
||||
//return isPassedWithByvalSemantics(t);
|
||||
return false;
|
||||
}
|
||||
|
||||
void Win64TargetABI::rewriteFunctionType(TypeFunction* tf, IrFuncTy &fty)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue