aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCAsmPrinter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-11-10 18:20:29 +0000
committerChris Lattner <sabre@nondot.org>2005-11-10 18:20:29 +0000
commit3459bfbc395914ec895aef13123f3b180242577f (patch)
tree3bf7ee10964aea2834c5dc0eb52fb18ba7cced88 /lib/Target/PowerPC/PPCAsmPrinter.cpp
parent2a21c6e86101c857d683e7bdefb775654ccab7e3 (diff)
Make the aix asm printer interface properly with the parent class
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24274 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCAsmPrinter.cpp')
-rw-r--r--lib/Target/PowerPC/PPCAsmPrinter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/PowerPC/PPCAsmPrinter.cpp b/lib/Target/PowerPC/PPCAsmPrinter.cpp
index 4d97ef3a9e..7969d02b23 100644
--- a/lib/Target/PowerPC/PPCAsmPrinter.cpp
+++ b/lib/Target/PowerPC/PPCAsmPrinter.cpp
@@ -210,7 +210,7 @@ namespace {
AIXAsmPrinter(std::ostream &O, TargetMachine &TM)
: PPCAsmPrinter(O, TM) {
CommentString = "#";
- GlobalPrefix = "_";
+ GlobalPrefix = ".";
ZeroDirective = "\t.space\t"; // ".space N" emits N zeros.
Data64bitsDirective = 0; // we can't emit a 64-bit unit
AlignmentIsInBytes = false; // Alignment is by power of 2.
@@ -691,7 +691,7 @@ bool AIXAsmPrinter::doInitialization(Module &M) {
O << '\n';
}
- Mang = new Mangler(M, ".");
+ AsmPrinter::doInitialization(M);
return false; // success
}
@@ -718,6 +718,6 @@ bool AIXAsmPrinter::doFinalization(Module &M) {
O << "_section_.text:\n"
<< "\t.csect .data[RW],3\n"
<< "\t.llong _section_.text\n";
- delete Mang;
+ AsmPrinter::doFinalization(M);
return false; // success
}