[llvm-commits] [llvm] r46848 - /llvm/trunk/lib/CodeGen/AsmPrinter.cpp

Nick Lewycky nicholas at mxc.ca
Wed Feb 6 22:36:27 PST 2008


Author: nicholas
Date: Thu Feb  7 00:36:26 2008
New Revision: 46848

URL: http://llvm.org/viewvc/llvm-project?rev=46848&view=rev
Log:
Don't make up new directives. (".set_foobar")

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

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

==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter.cpp Thu Feb  7 00:36:26 2008
@@ -157,7 +157,7 @@
       else if (!I->hasInternalLinkage())
         assert(0 && "Invalid alias linkage");
       
-      O << TAI->getSetDirective() << Name << ", " << Target << "\n";
+      O << TAI->getSetDirective() << ' ' << Name << ", " << Target << "\n";
 
       // If the aliasee has external weak linkage it can be referenced only by
       // alias itself. In this case it can be not in ExtWeakSymbols list. Emit





More information about the llvm-commits mailing list