From: Richard Trieu Date: Sat, 28 Jan 2017 03:23:49 +0000 (+0000) Subject: [WebAssembly] Use print instead of dump method. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d12101aa0100c9b49564f21f08f54ab4ab2c50ed;p=llvm [WebAssembly] Use print instead of dump method. This fixes non-debug non-assert builds after r293359. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293368 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp b/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp index 022a448590e..f3384210b0e 100644 --- a/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp +++ b/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp @@ -64,10 +64,10 @@ void WebAssemblyMCInstLower::Lower(const MachineInstr *MI, MCOperand MCOp; switch (MO.getType()) { default: - MI->dump(); + MI->print(errs()); llvm_unreachable("unknown operand type"); case MachineOperand::MO_MachineBasicBlock: - MI->dump(); + MI->print(errs()); llvm_unreachable("MachineBasicBlock operand should have been rewritten"); case MachineOperand::MO_Register: { // Ignore all implicit register operands.