summaryrefslogtreecommitdiff
path: root/lib/Target/Alpha/AsmPrinter
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-02-10 00:36:00 +0000
committerChris Lattner <sabre@nondot.org>2010-02-10 00:36:00 +0000
commit8e089a9e4d6b7aa2b3968c38644f926f60a7c670 (patch)
tree14eee00d859ea67c6088e95ce4c8a4e1ade33c35 /lib/Target/Alpha/AsmPrinter
parentf1f505f85c924c84391f4c4992fbfca56bfc8254 (diff)
downloadllvm-8e089a9e4d6b7aa2b3968c38644f926f60a7c670.tar.gz
llvm-8e089a9e4d6b7aa2b3968c38644f926f60a7c670.tar.bz2
llvm-8e089a9e4d6b7aa2b3968c38644f926f60a7c670.tar.xz
print all the newlines at the end of instructions with
OutStreamer.AddBlankLine instead of textually. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95734 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Alpha/AsmPrinter')
-rw-r--r--lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp b/lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp
index 03a49b2734..733a46c0ad 100644
--- a/lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp
+++ b/lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp
@@ -47,7 +47,7 @@ namespace {
void printInstruction(const MachineInstr *MI);
void EmitInstruction(const MachineInstr *MI) {
printInstruction(MI);
- O << '\n';
+ OutStreamer.AddBlankLine();
}
static const char *getRegisterName(unsigned RegNo);