compiler: Revert -Zregparm handling for extern Rust
This commit is contained in:
parent
d6f5b437e5
commit
b9c96780b4
4 changed files with 0 additions and 85 deletions
|
@ -720,28 +720,6 @@ impl<'a, Ty> FnAbi<'a, Ty> {
|
|||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
pub fn fill_inregs_for_rust_abi<C>(&mut self, cx: &C)
|
||||
where
|
||||
Ty: TyAbiInterface<'a, C> + Copy,
|
||||
C: HasTargetSpec + HasX86AbiOpt,
|
||||
{
|
||||
let spec = cx.target_spec();
|
||||
match &spec.arch[..] {
|
||||
"x86" => {
|
||||
x86::fill_inregs(
|
||||
cx,
|
||||
self,
|
||||
x86::X86Options {
|
||||
flavor: x86::Flavor::General,
|
||||
regparm: cx.x86_abi_opt().regparm,
|
||||
},
|
||||
true,
|
||||
);
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl FromStr for Conv {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue