trans: Set the calling convention in apply_attrs_callsite.
This commit is contained in:
parent
77f3484148
commit
7454b5c61d
@ -432,5 +432,9 @@ impl FnType {
|
|||||||
i += 1;
|
i += 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if self.cconv != llvm::CCallConv {
|
||||||
|
llvm::SetInstructionCallConv(callsite, self.cconv);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user