File tree Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -749,18 +749,6 @@ fn codegen_stmt<'tcx>(
749
749
| StatementKind :: Retag { .. }
750
750
| StatementKind :: AscribeUserType ( ..) => { }
751
751
752
- StatementKind :: LlvmInlineAsm ( asm) => {
753
- match asm. asm . asm . as_str ( ) . trim ( ) {
754
- "" => {
755
- // Black box
756
- }
757
- _ => fx. tcx . sess . span_fatal (
758
- stmt. source_info . span ,
759
- "Legacy `llvm_asm!` inline assembly is not supported. \
760
- Try using the new `asm!` instead.",
761
- ) ,
762
- }
763
- }
764
752
StatementKind :: Coverage { .. } => fx. tcx . sess . fatal ( "-Zcoverage is unimplemented" ) ,
765
753
StatementKind :: CopyNonOverlapping ( inner) => {
766
754
let dst = codegen_operand ( fx, & inner. dst ) ;
Original file line number Diff line number Diff line change @@ -506,7 +506,7 @@ pub(crate) fn mir_operand_get_const_val<'tcx>(
506
506
{
507
507
return None ;
508
508
}
509
- StatementKind :: LlvmInlineAsm ( _ ) | StatementKind :: CopyNonOverlapping ( _) => {
509
+ StatementKind :: CopyNonOverlapping ( _) => {
510
510
return None ;
511
511
} // conservative handling
512
512
StatementKind :: Assign ( _)
You can’t perform that action at this time.
0 commit comments