aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp
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/PIC16/AsmPrinter/PIC16AsmPrinter.cpp
parentf1f505f85c924c84391f4c4992fbfca56bfc8254 (diff)
downloadexternal_llvm-8e089a9e4d6b7aa2b3968c38644f926f60a7c670.zip
external_llvm-8e089a9e4d6b7aa2b3968c38644f926f60a7c670.tar.gz
external_llvm-8e089a9e4d6b7aa2b3968c38644f926f60a7c670.tar.bz2
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/PIC16/AsmPrinter/PIC16AsmPrinter.cpp')
-rw-r--r--lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp b/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp
index 0a27827..72f7c16 100644
--- a/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp
+++ b/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp
@@ -45,7 +45,7 @@ PIC16AsmPrinter::PIC16AsmPrinter(formatted_raw_ostream &O, TargetMachine &TM,
void PIC16AsmPrinter::EmitInstruction(const MachineInstr *MI) {
printInstruction(MI);
- O << '\n';
+ OutStreamer.AddBlankLine();
}
static int getFunctionColor(const Function *F) {