commit | 8e089a9e4d6b7aa2b3968c38644f926f60a7c670 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Wed Feb 10 00:36:00 2010 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Wed Feb 10 00:36:00 2010 +0000 |
tree | 14eee00d859ea67c6088e95ce4c8a4e1ade33c35 | |
parent | f1f505f85c924c84391f4c4992fbfca56bfc8254 [diff] [blame] |
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
diff --git a/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp b/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp index 5ae1cf1..b8641c3 100644 --- a/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp +++ b/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp
@@ -77,7 +77,7 @@ void printInstruction(const MachineInstr *MI); // autogenerated. void EmitInstruction(const MachineInstr *MI) { printInstruction(MI); - O << '\n'; + OutStreamer.AddBlankLine(); } virtual void EmitFunctionBodyStart(); virtual void EmitFunctionBodyEnd();