We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7879119 commit 948d024Copy full SHA for 948d024
src/abi/pass_mode.rs
@@ -71,7 +71,7 @@ fn cast_target_to_abi_params(cast: CastTarget) -> SmallVec<[AbiParam; 2]> {
71
.prefix
72
.iter()
73
.flatten()
74
- .map(|&kind| reg_to_abi_param(Reg { kind, size: cast.prefix_chunk_size }))
+ .map(|®| reg_to_abi_param(reg))
75
.chain((0..rest_count).map(|_| reg_to_abi_param(cast.rest.unit)))
76
.collect::<SmallVec<_>>();
77
0 commit comments