aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/AsmPrinter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-04-30 17:00:18 +0000
committerChris Lattner <sabre@nondot.org>2007-04-30 17:00:18 +0000
commit1f6f4c7346b6d78f097f25777211fdd4e4267086 (patch)
tree888b13fa4151e0cfc17cdcc5af0c4b6428f924f2 /lib/CodeGen/AsmPrinter.cpp
parentbb1f97cf87d8e3758d36d38499a8efe48ac28f91 (diff)
Clean up multi-line asam string printing. Instead of printing:
# InlineAsm Start subfc r3,r5,r4 subfze r4,r3 # InlineAsm End print: # InlineAsm Start subfc r3,r5,r4 subfze r4,r3 # InlineAsm End git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36589 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter.cpp')
-rw-r--r--lib/CodeGen/AsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter.cpp
index eb0f2f1b36..aa71ee0b6d 100644
--- a/lib/CodeGen/AsmPrinter.cpp
+++ b/lib/CodeGen/AsmPrinter.cpp
@@ -954,7 +954,7 @@ void AsmPrinter::printInlineAsm(const MachineInstr *MI) const {
}
case '\n':
++LastEmitted; // Consume newline character.
- O << "\n\t"; // Indent code with newline.
+ O << "\n"; // Indent code with newline.
break;
case '$': {
++LastEmitted; // Consume '$' character.