Add EntryRegDiversions to record diversions for each block entry.
This commit is contained in:
committed by
Nicolas B. Pierron
parent
9eb1847d80
commit
bb87f1a54a
@@ -118,7 +118,7 @@ where
|
||||
let mut tracked_values: Vec<(Value, ValueLabel, u32, ValueLoc)> = Vec::new();
|
||||
let mut divert = RegDiversions::new();
|
||||
for ebb in ebbs {
|
||||
divert.clear();
|
||||
divert.at_ebb(&func.entry_diversions, ebb);
|
||||
let mut last_srcloc: Option<T> = None;
|
||||
for (offset, inst, size) in func.inst_offsets(ebb, &encinfo) {
|
||||
divert.apply(&func.dfg[inst]);
|
||||
|
||||
Reference in New Issue
Block a user