Add the dyn keyword before trait objects;

This commit is contained in:
Benjamin Bouvier
2019-06-06 10:11:41 +02:00
parent eee824b6bd
commit d7d48d5cc6
77 changed files with 274 additions and 247 deletions

View File

@@ -65,7 +65,7 @@ impl Reload {
/// Run the reload algorithm over `func`.
pub fn run(
&mut self,
isa: &TargetIsa,
isa: &dyn TargetIsa,
func: &mut Function,
domtree: &DominatorTree,
liveness: &mut Liveness,
@@ -466,7 +466,7 @@ fn handle_abi_args(
abi_types: &[AbiParam],
var_args: &[Value],
offset: usize,
isa: &TargetIsa,
isa: &dyn TargetIsa,
liveness: &Liveness,
) {
debug_assert_eq!(abi_types.len(), var_args.len());