Remove unreachable code
This commit is contained in:
parent
3a6e96e8bc
commit
97ce904340
@ -249,11 +249,6 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
|
||||
|
||||
match instance.def {
|
||||
ty::InstanceDef::Intrinsic(..) => {
|
||||
if let Abi::RustIntrinsic | Abi::PlatformIntrinsic = caller_abi {
|
||||
// ok
|
||||
} else {
|
||||
throw_unsup!(FunctionAbiMismatch(caller_abi, Abi::RustIntrinsic))
|
||||
}
|
||||
// The intrinsic itself cannot diverge, so if we got here without a return
|
||||
// place... (can happen e.g., for transmute returning `!`)
|
||||
let dest = match dest {
|
||||
|
Loading…
Reference in New Issue
Block a user