summaryrefslogtreecommitdiff
path: root/lib/Target/MSP430/AsmPrinter
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2009-11-13 21:34:57 +0000
committerDavid Greene <greened@obbligato.org>2009-11-13 21:34:57 +0000
commit1924aabf996be9335fab34e7ee4fa2aa5911389c (patch)
tree4dd9f6e4547c3a9d80123a59b48afb12474db97f /lib/Target/MSP430/AsmPrinter
parentc4c550c7584b3240bda71d4339ec49c1cf731d55 (diff)
downloadllvm-1924aabf996be9335fab34e7ee4fa2aa5911389c.tar.gz
llvm-1924aabf996be9335fab34e7ee4fa2aa5911389c.tar.bz2
llvm-1924aabf996be9335fab34e7ee4fa2aa5911389c.tar.xz
Move DebugInfo checks into EmitComments and remove them from
target-specific AsmPrinters. Not all comments need DebugInfo. Re-enable the line numbers comment test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88697 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MSP430/AsmPrinter')
-rw-r--r--lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp b/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp
index 22d80d4fba..145359f056 100644
--- a/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp
+++ b/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp
@@ -239,7 +239,7 @@ void MSP430AsmPrinter::printMachineInstruction(const MachineInstr *MI) {
printInstructionThroughMCStreamer(MI);
- if (VerboseAsm && !MI->getDebugLoc().isUnknown())
+ if (VerboseAsm)
EmitComments(*MI);
O << '\n';