forked from OSchip/llvm-project
				
			createMCInstPrinter doesn't need TargetMachine anymore.
llvm-svn: 134526
This commit is contained in:
		
							parent
							
								
									ab37af9af3
								
							
						
					
					
						commit
						299b36fa72
					
				| 
						 | 
				
			
			@ -282,7 +282,7 @@ static bool ExecuteAssembler(AssemblerInvocation &Opts, Diagnostic &Diags) {
 | 
			
		|||
  // FIXME: There is a bit of code duplication with addPassesToEmitFile.
 | 
			
		||||
  if (Opts.OutputType == AssemblerInvocation::FT_Asm) {
 | 
			
		||||
    MCInstPrinter *IP =
 | 
			
		||||
      TheTarget->createMCInstPrinter(*TM, Opts.OutputAsmVariant, *MAI);
 | 
			
		||||
      TheTarget->createMCInstPrinter(Opts.OutputAsmVariant, *MAI);
 | 
			
		||||
    MCCodeEmitter *CE = 0;
 | 
			
		||||
    TargetAsmBackend *TAB = 0;
 | 
			
		||||
    if (Opts.ShowEncoding) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue