fuzzbug fix

This commit is contained in:
Chris Fallin 2021-12-24 00:57:30 -08:00
parent 252088faed
commit 1bd6b25d34

View file

@ -94,10 +94,15 @@ impl Schedule {
continue;
}
let input = f.resolve_alias(input);
if let &ValueDef::Operator(ref op, ..) = &f.values[input.index()] {
if op_rematerialize(op) {
match &f.values[input.index()] {
&ValueDef::Operator(ref op, ..) if op_rematerialize(op) => {
continue;
}
&ValueDef::Arg(..) => {
continue;
}
_ => {}
}
log::trace!("v{} waiting on v{}", value.index(), input.index());