[llvm-commits] [llvm] r95180 - /llvm/trunk/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp

Chris Lattner sabre at nondot.org
Tue Feb 2 17:15:03 PST 2010


Author: lattner
Date: Tue Feb  2 19:15:03 2010
New Revision: 95180

URL: http://llvm.org/viewvc/llvm-project?rev=95180&view=rev
Log:
emit instructions through the streamer.

Modified:
    llvm/trunk/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp

Modified: llvm/trunk/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp?rev=95180&r1=95179&r2=95180&view=diff

==============================================================================
--- llvm/trunk/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp Tue Feb  2 19:15:03 2010
@@ -183,8 +183,7 @@
 
   MCInst TmpInst;
   MCInstLowering.Lower(MI, TmpInst);
-  printMCInst(&TmpInst);
-  O << '\n';
+  OutStreamer.EmitInstruction(TmpInst);
 }
 
 static MCInstPrinter *createMSP430MCInstPrinter(const Target &T,





More information about the llvm-commits mailing list