<p dir="ltr">Thanks!</p>
<br><div class="gmail_quote"><div dir="ltr">On Fri, Jan 27, 2017, 7:35 PM Richard Trieu via llvm-commits <<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: rtrieu<br class="gmail_msg">
Date: Fri Jan 27 21:23:49 2017<br class="gmail_msg">
New Revision: 293368<br class="gmail_msg">
<br class="gmail_msg">
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=293368&view=rev" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project?rev=293368&view=rev</a><br class="gmail_msg">
Log:<br class="gmail_msg">
[WebAssembly] Use print instead of dump method.<br class="gmail_msg">
<br class="gmail_msg">
This fixes non-debug non-assert builds after r293359.<br class="gmail_msg">
<br class="gmail_msg">
Modified:<br class="gmail_msg">
llvm/trunk/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp<br class="gmail_msg">
<br class="gmail_msg">
Modified: llvm/trunk/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp<br class="gmail_msg">
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp?rev=293368&r1=293367&r2=293368&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp?rev=293368&r1=293367&r2=293368&view=diff</a><br class="gmail_msg">
==============================================================================<br class="gmail_msg">
--- llvm/trunk/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp (original)<br class="gmail_msg">
+++ llvm/trunk/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp Fri Jan 27 21:23:49 2017<br class="gmail_msg">
@@ -64,10 +64,10 @@ void WebAssemblyMCInstLower::Lower(const<br class="gmail_msg">
MCOperand MCOp;<br class="gmail_msg">
switch (MO.getType()) {<br class="gmail_msg">
default:<br class="gmail_msg">
- MI->dump();<br class="gmail_msg">
+ MI->print(errs());<br class="gmail_msg">
llvm_unreachable("unknown operand type");<br class="gmail_msg">
case MachineOperand::MO_MachineBasicBlock:<br class="gmail_msg">
- MI->dump();<br class="gmail_msg">
+ MI->print(errs());<br class="gmail_msg">
llvm_unreachable("MachineBasicBlock operand should have been rewritten");<br class="gmail_msg">
case MachineOperand::MO_Register: {<br class="gmail_msg">
// Ignore all implicit register operands.<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
_______________________________________________<br class="gmail_msg">
llvm-commits mailing list<br class="gmail_msg">
<a href="mailto:llvm-commits@lists.llvm.org" class="gmail_msg" target="_blank">llvm-commits@lists.llvm.org</a><br class="gmail_msg">
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits</a><br class="gmail_msg">
</blockquote></div>