[llvm] r293368 - [WebAssembly] Use print instead of dump method.
Richard Trieu via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 27 19:23:49 PST 2017
Author: rtrieu
Date: Fri Jan 27 21:23:49 2017
New Revision: 293368
URL: http://llvm.org/viewvc/llvm-project?rev=293368&view=rev
Log:
[WebAssembly] Use print instead of dump method.
This fixes non-debug non-assert builds after r293359.
Modified:
llvm/trunk/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp
Modified: llvm/trunk/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp?rev=293368&r1=293367&r2=293368&view=diff
==============================================================================
--- llvm/trunk/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp (original)
+++ llvm/trunk/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp Fri Jan 27 21:23:49 2017
@@ -64,10 +64,10 @@ void WebAssemblyMCInstLower::Lower(const
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.
More information about the llvm-commits
mailing list