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>(
749749        | StatementKind :: Retag  {  .. } 
750750        | StatementKind :: AscribeUserType ( ..)  => { } 
751751
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-         } 
764752        StatementKind :: Coverage  {  .. }  => fx. tcx . sess . fatal ( "-Zcoverage is unimplemented" ) , 
765753        StatementKind :: CopyNonOverlapping ( inner)  => { 
766754            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>(
506506                        { 
507507                            return  None ; 
508508                        } 
509-                         StatementKind :: LlvmInlineAsm ( _ )  |  StatementKind :: CopyNonOverlapping ( _)  => { 
509+                         StatementKind :: CopyNonOverlapping ( _)  => { 
510510                            return  None ; 
511511                        }  // conservative handling 
512512                        StatementKind :: Assign ( _) 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments