aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Mips
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/Mips
parentc4c550c7584b3240bda71d4339ec49c1cf731d55 (diff)
downloadexternal_llvm-1924aabf996be9335fab34e7ee4fa2aa5911389c.tar.gz
external_llvm-1924aabf996be9335fab34e7ee4fa2aa5911389c.tar.bz2
external_llvm-1924aabf996be9335fab34e7ee4fa2aa5911389c.zip
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/Mips')
-rw-r--r--lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp b/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp
index 66ade89bda..4898faee20 100644
--- a/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp
+++ b/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp
@@ -282,7 +282,7 @@ bool MipsAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
// Print the assembly for the instruction.
printInstruction(II);
- if (VerboseAsm && !II->getDebugLoc().isUnknown())
+ if (VerboseAsm)
EmitComments(*II);
O << '\n';