Refactor BranchInfo::Table to no longer have an optional default branch (#5593)
This commit is contained in:
@@ -308,7 +308,7 @@ impl FunctionStencil {
|
||||
}
|
||||
});
|
||||
|
||||
if default_dest == Some(old_dest) {
|
||||
if default_dest == old_dest {
|
||||
match &mut self.dfg.insts[inst] {
|
||||
InstructionData::BranchTable { destination, .. } => {
|
||||
*destination = new_dest;
|
||||
|
||||
Reference in New Issue
Block a user