about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/src/abi.rs
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2023-08-28 18:21:16 +0200
committerRalf Jung <post@ralfj.de>2023-08-28 18:21:16 +0200
commit9b9cb51a407e46e555afa1c2ec80ced185ad5395 (patch)
tree4470efaee9fe0209743a11f671bb2e17a5e4d29d /compiler/rustc_codegen_gcc/src/abi.rs
parent99d76a4027fd296118b0e3b55cd4c05a34cf9c08 (diff)
downloadrust-9b9cb51a407e46e555afa1c2ec80ced185ad5395.tar.gz
rust-9b9cb51a407e46e555afa1c2ec80ced185ad5395.zip
remove an unused argument
it was already unused before, but due to the recursion the compiler did not realize
Diffstat (limited to 'compiler/rustc_codegen_gcc/src/abi.rs')
-rw-r--r--compiler/rustc_codegen_gcc/src/abi.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_gcc/src/abi.rs b/compiler/rustc_codegen_gcc/src/abi.rs
index 6fb1cbfad8c..377dc753f68 100644
--- a/compiler/rustc_codegen_gcc/src/abi.rs
+++ b/compiler/rustc_codegen_gcc/src/abi.rs
@@ -125,8 +125,8 @@ impl<'gcc, 'tcx> FnAbiGccExt<'gcc, 'tcx> for FnAbi<'tcx, Ty<'tcx>> {
                 PassMode::Ignore => continue,
                 PassMode::Direct(_) => arg.layout.immediate_gcc_type(cx),
                 PassMode::Pair(..) => {
-                    argument_tys.push(arg.layout.scalar_pair_element_gcc_type(cx, 0, true));
-                    argument_tys.push(arg.layout.scalar_pair_element_gcc_type(cx, 1, true));
+                    argument_tys.push(arg.layout.scalar_pair_element_gcc_type(cx, 0));
+                    argument_tys.push(arg.layout.scalar_pair_element_gcc_type(cx, 1));
                     continue;
                 }
                 PassMode::Indirect { extra_attrs: Some(_), .. } => {