diff options
author | Chris Lattner <sabre@nondot.org> | 2010-04-05 00:42:55 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-04-05 00:42:55 +0000 |
commit | 90429c487fe62582241ffe0d3e8acce936f2f8bc (patch) | |
tree | a0be9167fe9676492307d702f177db0b2e57f0a5 /lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp | |
parent | 8e680482c19a2fab185f88a0dea18313e4be70a9 (diff) | |
download | external_llvm-90429c487fe62582241ffe0d3e8acce936f2f8bc.zip external_llvm-90429c487fe62582241ffe0d3e8acce936f2f8bc.tar.gz external_llvm-90429c487fe62582241ffe0d3e8acce936f2f8bc.tar.bz2 |
just have all targets create the DwarfWriter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100377 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp')
-rw-r--r-- | lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp b/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp index dbd404d..6056564 100644 --- a/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp +++ b/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp @@ -26,7 +26,6 @@ #include "llvm/Module.h" #include "llvm/Assembly/Writer.h" #include "llvm/CodeGen/AsmPrinter.h" -#include "llvm/CodeGen/DwarfWriter.h" #include "llvm/CodeGen/MachineFunctionPass.h" #include "llvm/CodeGen/MachineInstr.h" #include "llvm/CodeGen/MachineInstrBuilder.h" @@ -342,11 +341,6 @@ namespace { bool doFinalization(Module &M); virtual void EmitFunctionEntryLabel(); - - void getAnalysisUsage(AnalysisUsage &AU) const { - AU.addRequired<DwarfWriter>(); - PPCAsmPrinter::getAnalysisUsage(AU); - } }; /// PPCDarwinAsmPrinter - PowerPC assembly printer, customized for Darwin/Mac @@ -364,13 +358,6 @@ namespace { void EmitStartOfAsmFile(Module &M); void EmitFunctionStubs(const MachineModuleInfoMachO::SymbolListTy &Stubs); - - void getAnalysisUsage(AnalysisUsage &AU) const { - AU.setPreservesAll(); - AU.addRequired<MachineModuleInfo>(); - AU.addRequired<DwarfWriter>(); - PPCAsmPrinter::getAnalysisUsage(AU); - } }; } // end of anonymous namespace |