diff options
| author | Ralf Jung <post@ralfj.de> | 2020-07-23 13:07:21 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2020-07-23 13:15:50 +0200 |
| commit | 1b446cdbf03d26f31f6113a4ccb2e011f3a9abf1 (patch) | |
| tree | 3c75314247bf55308b87e067b3f061c8c00c1518 /src/librustc_codegen_ssa/mir | |
| parent | 2bbfa02b1b15974d5772b520aa027bf79f8c248e (diff) | |
| download | rust-1b446cdbf03d26f31f6113a4ccb2e011f3a9abf1.tar.gz rust-1b446cdbf03d26f31f6113a4ccb2e011f3a9abf1.zip | |
replace miri_start_panic intrinsic by 'extern fn'
Diffstat (limited to 'src/librustc_codegen_ssa/mir')
| -rw-r--r-- | src/librustc_codegen_ssa/mir/block.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/librustc_codegen_ssa/mir/block.rs b/src/librustc_codegen_ssa/mir/block.rs index e1de9677f80..f9e1094ff73 100644 --- a/src/librustc_codegen_ssa/mir/block.rs +++ b/src/librustc_codegen_ssa/mir/block.rs @@ -606,11 +606,6 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> { return; } - // For normal codegen, this Miri-specific intrinsic should never occur. - if intrinsic == Some(sym::miri_start_panic) { - bug!("`miri_start_panic` should never end up in compiled code"); - } - if self.codegen_panic_intrinsic( &helper, &mut bx, |
