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
|
@ -140,7 +140,7 @@ impl<'gcc, 'tcx> FnAbiGccExt<'gcc, 'tcx> for FnAbi<'tcx, Ty<'tcx>> {
|
|||
}
|
||||
};
|
||||
|
||||
for arg in &self.args {
|
||||
for arg in self.args.iter() {
|
||||
// add padding
|
||||
if let Some(ty) = arg.pad {
|
||||
argument_tys.push(ty.gcc_type(cx));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue