Fix compilation

This commit is contained in:
bjorn3 2019-12-28 13:00:28 +01:00
parent b0814a3fd8
commit 9022e09a3e

View File

@ -127,7 +127,7 @@ pub(super) fn optimize_function(
}
}).collect::<Vec<Inst>>();
for &store in &potential_stores {
println!("Potential store -> load forwarding {} -> {} ({:?})", ctx.func.dfg.display_inst(store, None), ctx.func.dfg.display_inst(load, None), spatial_overlap(func, load, store));
println!("Potential store -> load forwarding {} -> {} ({:?})", ctx.func.dfg.display_inst(store, None), ctx.func.dfg.display_inst(load, None), spatial_overlap(ctx.func, load, store));
}
match *potential_stores {
[] => println!("[{}] [BUG?] Reading uninitialized memory", name),