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

@@ -66,7 +66,7 @@ pub struct Coalescing {
/// One-shot context created once per invocation.
struct Context<'a> {
isa: &'a TargetIsa,
isa: &'a dyn TargetIsa,
encinfo: EncInfo,
func: &'a mut Function,
@@ -108,7 +108,7 @@ impl Coalescing {
/// Convert `func` to Conventional SSA form and build virtual registers in the process.
pub fn conventional_ssa(
&mut self,
isa: &TargetIsa,
isa: &dyn TargetIsa,
func: &mut Function,
cfg: &ControlFlowGraph,
domtree: &DominatorTree,