Skip to content

Commit 53ee723

Browse files
committed
Merge pull request #757 from kinke/abifix
Win64 ABI hotfix
2 parents 8b43678 + c64070c commit 53ee723

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

gen/abi-win64.cpp

+4-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,10 @@ bool Win64TargetABI::returnInArg(TypeFunction* tf)
173173
bool Win64TargetABI::passByVal(Type* t)
174174
{
175175
t = t->toBasetype();
176-
return isPassedWithByvalSemantics(t);
176+
177+
// FIXME: LLVM doesn't support ByVal on Win64 yet
178+
//return isPassedWithByvalSemantics(t);
179+
return false;
177180
}
178181

179182
void Win64TargetABI::rewriteFunctionType(TypeFunction* tf, IrFuncTy &fty)

0 commit comments

Comments
 (0)