From: Daniel Dunbar Date: Wed, 1 Jul 2009 06:35:48 +0000 (+0000) Subject: llvm-mc: Emit parsed instructions to the MCStreamer. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=0eebb0543f826d66865f9878702511713f065484;p=oota-llvm.git llvm-mc: Emit parsed instructions to the MCStreamer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74594 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/llvm-mc/AsmParser.cpp b/tools/llvm-mc/AsmParser.cpp index 744e1f6e64c..931e460ab16 100644 --- a/tools/llvm-mc/AsmParser.cpp +++ b/tools/llvm-mc/AsmParser.cpp @@ -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;