[llvm] r293368 - [WebAssembly] Use print instead of dump method.
Derek Schuff via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 28 12:57:40 PST 2017
Thanks!
On Fri, Jan 27, 2017, 7:35 PM Richard Trieu via llvm-commits <
llvm-commits at lists.llvm.org> wrote:
> 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.
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170128/1e2cb665/attachment.html>
More information about the llvm-commits
mailing list