Skip to content

Commit

Permalink
Rollup merge of rust-lang#111250 - spastorino:smir-terminator-2, r=ol…
Browse files Browse the repository at this point in the history
…i-obk

Add Terminator conversion from MIR to SMIR, part #2

r? `@oli-obk`
  • Loading branch information
matthiaskrgr authored Jun 6, 2023
2 parents 3572d74 + 5749bd0 commit 1788d49
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions compiler/rustc_smir/src/rustc_smir/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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!(),
}
}

0 comments on commit 1788d49

Please sign in to comment.