From 7b26fce23e5f733d1a614beae71d0499e78aeab1 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 22 Aug 2009 20:48:53 +0000 Subject: Rename TargetAsmInfo (and its subclasses) to MCAsmInfo. llvm-svn: 79763 --- llvm/lib/CodeGen/LLVMTargetMachine.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'llvm/lib/CodeGen/LLVMTargetMachine.cpp') diff --git a/llvm/lib/CodeGen/LLVMTargetMachine.cpp b/llvm/lib/CodeGen/LLVMTargetMachine.cpp index 911e9a13ef3..adce1f30b36 100644 --- a/llvm/lib/CodeGen/LLVMTargetMachine.cpp +++ b/llvm/lib/CodeGen/LLVMTargetMachine.cpp @@ -20,7 +20,7 @@ #include "llvm/CodeGen/GCStrategy.h" #include "llvm/CodeGen/MachineFunctionAnalysis.h" #include "llvm/Target/TargetOptions.h" -#include "llvm/Target/TargetAsmInfo.h" +#include "llvm/MC/MCAsmInfo.h" #include "llvm/Target/TargetRegistry.h" #include "llvm/Transforms/Scalar.h" #include "llvm/Support/CommandLine.h" @@ -108,7 +108,7 @@ bool LLVMTargetMachine::addAssemblyEmitter(PassManagerBase &PM, bool Verbose, formatted_raw_ostream &Out) { FunctionPass *Printer = - getTarget().createAsmPrinter(Out, *this, getTargetAsmInfo(), Verbose); + getTarget().createAsmPrinter(Out, *this, getMCAsmInfo(), Verbose); if (!Printer) return true; @@ -239,7 +239,7 @@ bool LLVMTargetMachine::addCommonCodeGenPasses(PassManagerBase &PM, // Turn exception handling constructs into something the code generators can // handle. - switch (getTargetAsmInfo()->getExceptionHandlingType()) + switch (getMCAsmInfo()->getExceptionHandlingType()) { case ExceptionHandling::SjLj: // SjLj piggy-backs on dwarf for this bit. The cleanups done apply to both -- cgit v1.2.3