[llvm-commits] [llvm] r80466 - in /llvm/trunk: include/llvm/CodeGen/AsmPrinter.h lib/CodeGen/AsmPrinter/AsmPrinter.cpp

Bill Wendling isanbard at gmail.com
Sat Aug 29 17:28:58 PDT 2009


Author: void
Date: Sat Aug 29 19:28:57 2009
New Revision: 80466

URL: http://llvm.org/viewvc/llvm-project?rev=80466&view=rev
Log:
Nuke moribund "std::string" version of EOL(..., Encoding).

Modified:
    llvm/trunk/include/llvm/CodeGen/AsmPrinter.h
    llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp

Modified: llvm/trunk/include/llvm/CodeGen/AsmPrinter.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/AsmPrinter.h?rev=80466&r1=80465&r2=80466&view=diff

==============================================================================
--- llvm/trunk/include/llvm/CodeGen/AsmPrinter.h (original)
+++ llvm/trunk/include/llvm/CodeGen/AsmPrinter.h Sat Aug 29 19:28:57 2009
@@ -268,7 +268,6 @@
     void EOL() const;
     void EOL(const std::string &Comment) const;
     void EOL(const char* Comment) const;
-    void EOL(const std::string &Comment, unsigned Encoding) const;
     void EOL(const char *Comment, unsigned Encoding) const;
 
     /// EmitULEB128Bytes - Emit an assembler byte data directive to compose an

Modified: llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp?rev=80466&r1=80465&r2=80466&view=diff

==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp Sat Aug 29 19:28:57 2009
@@ -633,14 +633,6 @@
   return 0;
 }
 
-void AsmPrinter::EOL(const std::string &Comment, unsigned Encoding) const {
-  if (VerboseAsm && !Comment.empty()) {
-    EOL(Comment.c_str(), Encoding);
-    return;
-  }
-  O << '\n';
-}
-
 void AsmPrinter::EOL(const char *Comment, unsigned Encoding) const {
   if (VerboseAsm && *Comment) {
     O.PadToColumn(MAI->getCommentColumn());





More information about the llvm-commits mailing list