mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
Change FnAbi::args
to a boxed slice.
This commit is contained in:
parent
d01d0d1f76
commit
a283dedd44
@ -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…
Reference in New Issue
Block a user