aboutsummaryrefslogtreecommitdiffstats
path: root/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
commit42b8e5a54accc8b38484ac6731008665d8f6f172 (patch)
treefeec6e3aa100534d0ad8429f5243f4e81eaf1f48 /lib/Target/Sparc
parent512c1177265aa81eb64aa9152074901343bac70f (diff)
downloadexternal_llvm-42b8e5a54accc8b38484ac6731008665d8f6f172.zip
external_llvm-42b8e5a54accc8b38484ac6731008665d8f6f172.tar.gz
external_llvm-42b8e5a54accc8b38484ac6731008665d8f6f172.tar.bz2
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76592 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc')
-rw-r--r--lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp b/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp
index 7710819..6115bf6 100644
--- a/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp
+++ b/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();