trans: Set the calling convention in apply_attrs_callsite.
This commit is contained in:
parent
77f3484148
commit
7454b5c61d
1 changed files with 4 additions and 0 deletions
|
@ -432,5 +432,9 @@ impl FnType {
|
||||||
i += 1;
|
i += 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if self.cconv != llvm::CCallConv {
|
||||||
|
llvm::SetInstructionCallConv(callsite, self.cconv);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue