This commit is contained in:
Chris Fallin 2021-12-11 22:40:01 -08:00
parent 58868c9908
commit 1726ec2cc7

View file

@ -157,6 +157,9 @@ fn parse_body<'a>(
log::trace!("checking if block is sealed: {}", block); log::trace!("checking if block is sealed: {}", block);
assert!(builder.locals.is_sealed(block)); assert!(builder.locals.is_sealed(block));
} }
for value in &builder.body.values {
assert!(value != &ValueDef::Placeholder);
}
trace!("Final function body:{:?}", ret); trace!("Final function body:{:?}", ret);