llvm-mc: Emit parsed instructions to the MCStreamer.
authorDaniel Dunbar <daniel@zuster.org>
Wed, 1 Jul 2009 06:35:48 +0000 (06:35 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 1 Jul 2009 06:35:48 +0000 (06:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74594 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-mc/AsmParser.cpp

index 744e1f6e64cd4ae7af97ad44b19d529baeb6e6f4..931e460ab16fc05d70b7ad57dcf1c2c60e8aeeb8 100644 (file)
@@ -516,8 +516,7 @@ bool AsmParser::ParseStatement() {
   Lexer.Lex();
   
   // Instruction is good, process it.
-  outs() << "Found instruction: " << IDVal << " with " << Inst.getNumOperands()
-         << " operands.\n";
+  Out.EmitInstruction(Inst);
   
   // Skip to end of line for now.
   return false;