diff options
author | Dan Gohman <gohman@apple.com> | 2009-11-06 00:04:54 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-11-06 00:04:54 +0000 |
commit | ee8afcc59d2fcbb7df645864e7d5acc894596f2f (patch) | |
tree | 7047e7134d27a2cc0f75d2c91643749aafe98fcb /llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | |
parent | 67916399105876fd584c9669d026d4d8a37ab2a6 (diff) | |
download | bcm5719-llvm-ee8afcc59d2fcbb7df645864e7d5acc894596f2f.tar.gz bcm5719-llvm-ee8afcc59d2fcbb7df645864e7d5acc894596f2f.zip |
Factor out the printing of the leading tab into printInlineAsm.
llvm-svn: 86199
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index 4c4e0d311b0..43aaebfe864 100644 --- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp @@ -1399,6 +1399,8 @@ void AsmPrinter::printInlineAsm(const MachineInstr *MI) const { // Disassemble the AsmStr, printing out the literal pieces, the operands, etc. const char *AsmStr = MI->getOperand(NumDefs).getSymbolName(); + O << '\t'; + // If this asmstr is empty, just print the #APP/#NOAPP markers. // These are useful to see where empty asm's wound up. if (AsmStr[0] == 0) { |