1
Fork 0

Don't bother to save a block

This commit is contained in:
Nadrieril 2024-02-16 02:57:24 +01:00
parent 4316d0c625
commit c00b38e9fb
16 changed files with 425 additions and 313 deletions

View file

@ -1226,10 +1226,6 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
if let Some(last_otherwise_block) = otherwise_block {
last_otherwise_block
} else {
// Any remaining candidates are unreachable.
if unmatched_candidates.is_empty() {
return;
}
self.cfg.start_new_block()
}
} else {