diff options
| author | Jubilee Young <workingjubilee@gmail.com> | 2024-10-18 11:54:07 -0700 |
|---|---|---|
| committer | Jubilee Young <workingjubilee@gmail.com> | 2024-10-18 11:59:20 -0700 |
| commit | b9c96780b47b0ac3710202df884dfb3580fc4b76 (patch) | |
| tree | 846c7a960fcf057579fdf0df3706b2410a10fdaf /compiler/rustc_target/src | |
| parent | d6f5b437e598074a612fc72c053b00f70c38e607 (diff) | |
| download | rust-b9c96780b47b0ac3710202df884dfb3580fc4b76.tar.gz rust-b9c96780b47b0ac3710202df884dfb3580fc4b76.zip | |
compiler: Revert -Zregparm handling for extern Rust
Diffstat (limited to 'compiler/rustc_target/src')
| -rw-r--r-- | compiler/rustc_target/src/callconv/mod.rs | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/compiler/rustc_target/src/callconv/mod.rs b/compiler/rustc_target/src/callconv/mod.rs index 07ee3f892b7..5d120a68059 100644 --- a/compiler/rustc_target/src/callconv/mod.rs +++ b/compiler/rustc_target/src/callconv/mod.rs @@ -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 { |
