diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-08-11 22:39:40 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-08-11 22:39:40 +0000 |
| commit | abdcbc7ef2ecfcc821a02d5a3094cd6374d1fa8f (patch) | |
| tree | d81de14eb1e0b817639f2dce5c6ffb3013cffd8c /llvm/lib/Target/X86 | |
| parent | fd5defed1dff8eaeeb145eb3c507cc173267c0b6 (diff) | |
| download | bcm5719-llvm-abdcbc7ef2ecfcc821a02d5a3094cd6374d1fa8f.tar.gz bcm5719-llvm-abdcbc7ef2ecfcc821a02d5a3094cd6374d1fa8f.zip | |
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.
llvm-svn: 78737
Diffstat (limited to 'llvm/lib/Target/X86')
| -rw-r--r-- | llvm/lib/Target/X86/X86TargetAsmInfo.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/Target/X86/X86TargetAsmInfo.cpp b/llvm/lib/Target/X86/X86TargetAsmInfo.cpp index a07b2cc2b5b..1d9a4c2aaa6 100644 --- a/llvm/lib/Target/X86/X86TargetAsmInfo.cpp +++ b/llvm/lib/Target/X86/X86TargetAsmInfo.cpp @@ -61,8 +61,6 @@ X86DarwinTargetAsmInfo::X86DarwinTargetAsmInfo(const X86TargetMachine &TM) { PersonalitySuffix = "$non_lazy_ptr"; } - InlineAsmStart = "## InlineAsm Start"; - InlineAsmEnd = "## InlineAsm End"; CommentString = "##"; PCSymbol = "."; @@ -113,9 +111,6 @@ X86WinTargetAsmInfo::X86WinTargetAsmInfo(const X86TargetMachine &TM) { GlobalPrefix = "_"; CommentString = ";"; - InlineAsmStart = "; InlineAsm Start"; - InlineAsmEnd = "; InlineAsm End"; - PrivateGlobalPrefix = "$"; AlignDirective = "\tALIGN\t"; ZeroDirective = "\tdb\t"; |

