[llvm-branch-commits] [llvm-branch] r104324 - /llvm/branches/Apple/Morbo/lib/CodeGen/AsmPrinter/AsmPrinter.cpp

Chris Lattner sabre at nondot.org
Fri May 21 10:39:23 PDT 2010


Author: lattner
Date: Fri May 21 12:39:23 2010
New Revision: 104324

URL: http://llvm.org/viewvc/llvm-project?rev=104324&view=rev
Log:
always make ${:comment} print the comment character.

Modified:
    llvm/branches/Apple/Morbo/lib/CodeGen/AsmPrinter/AsmPrinter.cpp

Modified: llvm/branches/Apple/Morbo/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Morbo/lib/CodeGen/AsmPrinter/AsmPrinter.cpp?rev=104324&r1=104323&r2=104324&view=diff
==============================================================================
--- llvm/branches/Apple/Morbo/lib/CodeGen/AsmPrinter/AsmPrinter.cpp (original)
+++ llvm/branches/Apple/Morbo/lib/CodeGen/AsmPrinter/AsmPrinter.cpp Fri May 21 12:39:23 2010
@@ -1383,8 +1383,7 @@
   if (!strcmp(Code, "private")) {
     O << MAI->getPrivateGlobalPrefix();
   } else if (!strcmp(Code, "comment")) {
-    if (VerboseAsm)
-      O << MAI->getCommentString();
+    O << MAI->getCommentString();
   } else if (!strcmp(Code, "uid")) {
     // Comparing the address of MI isn't sufficient, because machineinstrs may
     // be allocated to the same address across functions.





More information about the llvm-branch-commits mailing list