commit | ca9b04ba02e321977d03e79a5bbd4c95eb23a0d8 | [log] [tgz] |
---|---|---|
author | David Greene <greened@obbligato.org> | Fri Nov 13 21:34:57 2009 +0000 |
committer | David Greene <greened@obbligato.org> | Fri Nov 13 21:34:57 2009 +0000 |
tree | 4dd9f6e4547c3a9d80123a59b48afb12474db97f | |
parent | cd6a8e23207f276f915f20cad9f3905a862df5d9 [diff] [blame] |
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
diff --git a/lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp b/lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp index 209a5bf..338057b 100644 --- a/lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp +++ b/lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp
@@ -178,7 +178,7 @@ processDebugLoc(II, true); printInstruction(II); - if (VerboseAsm && !II->getDebugLoc().isUnknown()) + if (VerboseAsm) EmitComments(*II); O << '\n'; processDebugLoc(II, false);