rustc_target: adjust_for_cabi
-> adjust_for_foreign_abi
.
This commit is contained in:
parent
feca7d0a03
commit
4d36faf9ef
2 changed files with 2 additions and 2 deletions
|
@ -3098,7 +3098,7 @@ where
|
||||||
return;
|
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);
|
cx.tcx().sess.fatal(&msg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -600,7 +600,7 @@ pub struct FnAbi<'a, Ty> {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a, Ty> 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
|
where
|
||||||
Ty: TyAbiInterface<'a, C> + Copy,
|
Ty: TyAbiInterface<'a, C> + Copy,
|
||||||
C: HasDataLayout + HasTargetSpec,
|
C: HasDataLayout + HasTargetSpec,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue