Turn ArgAbi::pad
into a bool
.
Because it's only ever set to `None` or `Some(Reg::i32())`.
This commit is contained in:
parent
feeaa4db3c
commit
b853e8a619
8 changed files with 20 additions and 20 deletions
|
@ -283,7 +283,7 @@ fn arg_local_refs<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>>(
|
|||
for i in 0..tupled_arg_tys.len() {
|
||||
let arg = &fx.fn_abi.args[idx];
|
||||
idx += 1;
|
||||
if arg.pad.is_some() {
|
||||
if arg.pad_i32 {
|
||||
llarg_idx += 1;
|
||||
}
|
||||
let pr_field = place.project_field(bx, i);
|
||||
|
@ -309,7 +309,7 @@ fn arg_local_refs<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>>(
|
|||
|
||||
let arg = &fx.fn_abi.args[idx];
|
||||
idx += 1;
|
||||
if arg.pad.is_some() {
|
||||
if arg.pad_i32 {
|
||||
llarg_idx += 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue