From 000b36c505a8865322c376486791cdee8f38d0c5 Mon Sep 17 00:00:00 2001 From: Tomasz Miąsko Date: Wed, 12 Jan 2022 00:00:00 +0000 Subject: Remove deprecated LLVM-style inline assembly --- compiler/rustc_const_eval/src/interpret/step.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'compiler/rustc_const_eval/src/interpret') diff --git a/compiler/rustc_const_eval/src/interpret/step.rs b/compiler/rustc_const_eval/src/interpret/step.rs index 3daa1d3c2b3..57ba9b40992 100644 --- a/compiler/rustc_const_eval/src/interpret/step.rs +++ b/compiler/rustc_const_eval/src/interpret/step.rs @@ -140,8 +140,6 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> { // Defined to do nothing. These are added by optimization passes, to avoid changing the // size of MIR constantly. Nop => {} - - LlvmInlineAsm { .. } => throw_unsup_format!("inline assembly is not supported"), } self.stack_mut()[frame_idx].loc.as_mut().unwrap().statement_index += 1; -- cgit 1.4.1-3-g733a5