summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-21 17:37:35 +0000
committerChris Lattner <sabre@nondot.org>2009-07-21 17:37:35 +0000
commit249df80306a3f4d85f46273e5a62f5111948aa9e (patch)
tree9a878761b103a0ee09792f8033a3290100f3ec63 /llvm/lib/Target/Sparc
parent8e552000894d814ae21997a543be487765f4fa43 (diff)
downloadbcm5719-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/Sparc')
-rw-r--r--llvm/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp b/llvm/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp
index 77108194051..6115bf6fa11 100644
--- a/llvm/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp
+++ b/llvm/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp
@@ -67,7 +67,6 @@ namespace {
bool printInstruction(const MachineInstr *MI); // autogenerated.
bool runOnMachineFunction(MachineFunction &F);
- bool doInitialization(Module &M);
bool doFinalization(Module &M);
bool PrintAsmOperand(const MachineInstr *MI, unsigned OpNo,
unsigned AsmVariant, const char *ExtraCode);
@@ -222,12 +221,6 @@ void SparcAsmPrinter::printCCOperand(const MachineInstr *MI, int opNum) {
O << SPARCCondCodeToString((SPCC::CondCodes)CC);
}
-bool SparcAsmPrinter::doInitialization(Module &M) {
- Mang = new Mangler(M, "", TAI->getPrivateGlobalPrefix(),
- TAI->getLinkerPrivateGlobalPrefix());
- return false; // success
-}
-
bool SparcAsmPrinter::doFinalization(Module &M) {
// Print out module-level global variables here.
for (Module::const_global_iterator I = M.global_begin(), E = M.global_end();
OpenPOWER on IntegriCloud