diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2020-12-27 19:59:37 +0100 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2021-01-23 10:30:38 +0100 |
| commit | da0309c71163fb2a31e966ef79a02a6b76139654 (patch) | |
| tree | e430c7eb7edb78733bfe487ec9719a46b6fd2314 /compiler/rustc_codegen_llvm/src | |
| parent | 2bde7d21ccdee7f147884de1b070a558d209c743 (diff) | |
| download | rust-da0309c71163fb2a31e966ef79a02a6b76139654.tar.gz rust-da0309c71163fb2a31e966ef79a02a6b76139654.zip | |
Use PassMode::Pair by default for Abi::ScalarPair for all abi's and in return position
Abi::ScalarPair is only ever used for types that don't have a stable layout anyway so this doesn't break any FFI. It does however reduce the amount of special casing on the abi outside of the code responsible for abi specific adjustments to the pass mode.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
