rustc_target: adjust_for_cabi
-> adjust_for_foreign_abi
.
This commit is contained in:
parent
feca7d0a03
commit
4d36faf9ef
@ -3098,7 +3098,7 @@ fn adjust_for_abi(&mut self, cx: &C, abi: SpecAbi) {
|
||||
return;
|
||||
}
|
||||
|
||||
if let Err(msg) = self.adjust_for_cabi(cx, abi) {
|
||||
if let Err(msg) = self.adjust_for_foreign_abi(cx, abi) {
|
||||
cx.tcx().sess.fatal(&msg);
|
||||
}
|
||||
}
|
||||
|
@ -600,7 +600,7 @@ pub struct FnAbi<'a, Ty> {
|
||||
}
|
||||
|
||||
impl<'a, Ty> FnAbi<'a, Ty> {
|
||||
pub fn adjust_for_cabi<C>(&mut self, cx: &C, abi: spec::abi::Abi) -> Result<(), String>
|
||||
pub fn adjust_for_foreign_abi<C>(&mut self, cx: &C, abi: spec::abi::Abi) -> Result<(), String>
|
||||
where
|
||||
Ty: TyAbiInterface<'a, C> + Copy,
|
||||
C: HasDataLayout + HasTargetSpec,
|
||||
|
Loading…
Reference in New Issue
Block a user