pascal calling convention

This commit is contained in:
Alexey Prokhin
2010-12-17 12:59:59 +03:00
parent eccd26ac93
commit 8790958712

View File

@@ -49,7 +49,7 @@ llvm::CallingConv::ID DtoCallingConv(Loc loc, LINK l)
return llvm::CallingConv::Fast;
}
// on the other hand, here, it's exactly what we want!!! TODO: right?
else if (l == LINKwindows)
else if (l == LINKwindows || l == LINKpascal)
return llvm::CallingConv::X86_StdCall;
else
{