Rollup merge of #111250 - spastorino:smir-terminator-2, r=oli-obk
Add Terminator conversion from MIR to SMIR, part #2 r? `@oli-obk`
This commit is contained in:
commit
1788d49789
@ -330,10 +330,7 @@ fn rustc_terminator_to_terminator(
|
||||
target: target.as_usize(),
|
||||
unwind: rustc_unwind_to_unwind(unwind),
|
||||
},
|
||||
Yield { .. } => todo!(),
|
||||
GeneratorDrop => Terminator::GeneratorDrop,
|
||||
FalseEdge { .. } => todo!(),
|
||||
FalseUnwind { .. } => todo!(),
|
||||
InlineAsm { .. } => todo!(),
|
||||
Yield { .. } | GeneratorDrop | FalseEdge { .. } | FalseUnwind { .. } => unreachable!(),
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user