From 1bd6b25d34fa94a0c3969e402cf37b2e558cea44 Mon Sep 17 00:00:00 2001 From: Chris Fallin Date: Fri, 24 Dec 2021 00:57:30 -0800 Subject: [PATCH] fuzzbug fix --- src/backend/schedule.rs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/backend/schedule.rs b/src/backend/schedule.rs index f139057..32e0ad2 100644 --- a/src/backend/schedule.rs +++ b/src/backend/schedule.rs @@ -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());