Win64 ABI hotfix

This commit is contained in:
Martin 2014-10-21 23:02:36 +02:00
parent 8b43678387
commit c64070c09e

View file

@ -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)