From d12101aa0100c9b49564f21f08f54ab4ab2c50ed Mon Sep 17 00:00:00 2001 From: Richard Trieu Date: Sat, 28 Jan 2017 03:23:49 +0000 Subject: [PATCH] [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 --- lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. -- 2.40.0