diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-21 17:37:35 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-21 17:37:35 +0000 |
commit | 249df80306a3f4d85f46273e5a62f5111948aa9e (patch) | |
tree | 9a878761b103a0ee09792f8033a3290100f3ec63 /llvm/lib/Target/MSP430/MSP430AsmPrinter.cpp | |
parent | 8e552000894d814ae21997a543be487765f4fa43 (diff) | |
download | bcm5719-llvm-249df80306a3f4d85f46273e5a62f5111948aa9e.tar.gz bcm5719-llvm-249df80306a3f4d85f46273e5a62f5111948aa9e.zip |
fix Sparc, SystemZ, and MSP430 to not override AsmPrinter::doInitialization.
This eliminates redundancy setting up the mangler and adds support to them
for module-level inline asm and a .file directive.
llvm-svn: 76592
Diffstat (limited to 'llvm/lib/Target/MSP430/MSP430AsmPrinter.cpp')
-rw-r--r-- | llvm/lib/Target/MSP430/MSP430AsmPrinter.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/Target/MSP430/MSP430AsmPrinter.cpp b/llvm/lib/Target/MSP430/MSP430AsmPrinter.cpp index f6da3f30196..0ad0a90396e 100644 --- a/llvm/lib/Target/MSP430/MSP430AsmPrinter.cpp +++ b/llvm/lib/Target/MSP430/MSP430AsmPrinter.cpp @@ -58,7 +58,6 @@ namespace { void emitFunctionHeader(const MachineFunction &MF); bool runOnMachineFunction(MachineFunction &F); - bool doInitialization(Module &M); void getAnalysisUsage(AnalysisUsage &AU) const { AsmPrinter::getAnalysisUsage(AU); @@ -80,12 +79,6 @@ FunctionPass *llvm::createMSP430CodePrinterPass(formatted_raw_ostream &o, return new MSP430AsmPrinter(o, tm, tm.getTargetAsmInfo(), verbose); } -bool MSP430AsmPrinter::doInitialization(Module &M) { - Mang = new Mangler(M, "", TAI->getPrivateGlobalPrefix(), - TAI->getLinkerPrivateGlobalPrefix()); - return false; // success -} - void MSP430AsmPrinter::emitFunctionHeader(const MachineFunction &MF) { const Function *F = MF.getFunction(); |