aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-11 22:39:40 +0000
committerChris Lattner <sabre@nondot.org>2009-08-11 22:39:40 +0000
commitcae14fd2f334ef46b141a5e400fc43528f5e5b43 (patch)
tree15b1240b4ff1ad16135acf4096de957cb2facb80 /lib/Target/PowerPC/PPCTargetAsmInfo.cpp
parenteb75972692419eee5ea85909cea17b04abeeddc6 (diff)
downloadexternal_llvm-cae14fd2f334ef46b141a5e400fc43528f5e5b43.zip
external_llvm-cae14fd2f334ef46b141a5e400fc43528f5e5b43.tar.gz
external_llvm-cae14fd2f334ef46b141a5e400fc43528f5e5b43.tar.bz2
Change the asmprinter to print the comment character before the
"inlineasmstart/end" strings so that the contents of the directive are separate from the comment character. This lets elf targets get #APP/#NOAPP for free even if they don't use "#" as the comment character. This also allows hoisting the darwin stuff up to the shared TAI class. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78737 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCTargetAsmInfo.cpp')
-rw-r--r--lib/Target/PowerPC/PPCTargetAsmInfo.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/Target/PowerPC/PPCTargetAsmInfo.cpp b/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
index 58926e3..891252b 100644
--- a/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
+++ b/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
@@ -29,8 +29,6 @@ PPCDarwinTargetAsmInfo::PPCDarwinTargetAsmInfo(const PPCTargetMachine &TM) {
if (!isPPC64)
Data64bitsDirective = 0; // we can't emit a 64-bit unit
- InlineAsmStart = "# InlineAsm Start";
- InlineAsmEnd = "# InlineAsm End";
AssemblerDialect = Subtarget->getAsmFlavor();
}
@@ -63,8 +61,6 @@ PPCLinuxTargetAsmInfo::PPCLinuxTargetAsmInfo(const PPCTargetMachine &TM) {
Data64bitsDirective = isPPC64 ? "\t.quad\t" : 0;
AlignmentIsInBytes = false;
LCOMMDirective = "\t.lcomm\t";
- InlineAsmStart = "# InlineAsm Start";
- InlineAsmEnd = "# InlineAsm End";
AssemblerDialect = Subtarget->getAsmFlavor();
}