trans: Set the calling convention in apply_attrs_callsite.

This commit is contained in:
Eduard Burtescu 2016-03-06 12:34:31 +02:00
parent 77f3484148
commit 7454b5c61d

View File

@ -432,5 +432,9 @@ impl FnType {
i += 1;
}
}
if self.cconv != llvm::CCallConv {
llvm::SetInstructionCallConv(callsite, self.cconv);
}
}
}