Change FnAbi::args
to a boxed slice.
This commit is contained in:
parent
4df7bffa95
commit
b75b3b3afe
24 changed files with 29 additions and 29 deletions
|
@ -442,7 +442,7 @@ impl<'ll, 'tcx> FnAbiLlvmExt<'ll, 'tcx> for FnAbi<'tcx, Ty<'tcx>> {
|
|||
}
|
||||
_ => {}
|
||||
}
|
||||
for arg in &self.args {
|
||||
for arg in self.args.iter() {
|
||||
if arg.pad.is_some() {
|
||||
apply(&ArgAttributes::new());
|
||||
}
|
||||
|
@ -518,7 +518,7 @@ impl<'ll, 'tcx> FnAbiLlvmExt<'ll, 'tcx> for FnAbi<'tcx, Ty<'tcx>> {
|
|||
}
|
||||
}
|
||||
}
|
||||
for arg in &self.args {
|
||||
for arg in self.args.iter() {
|
||||
if arg.pad.is_some() {
|
||||
apply(bx.cx, &ArgAttributes::new());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue