summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/WebAssembly
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2017-01-28 03:23:49 +0000
committerRichard Trieu <rtrieu@google.com>2017-01-28 03:23:49 +0000
commit3de487b2e80851fe0fb3ec2af64da062e71c1baa (patch)
tree4cbc005294f74172898310913bd485dc1794abf9 /llvm/lib/Target/WebAssembly
parent152bcd2d0dbe07a0f2fe4320a7f0483bbc0376fe (diff)
downloadbcm5719-llvm-3de487b2e80851fe0fb3ec2af64da062e71c1baa.tar.gz
bcm5719-llvm-3de487b2e80851fe0fb3ec2af64da062e71c1baa.zip
[WebAssembly] Use print instead of dump method.
This fixes non-debug non-assert builds after r293359. llvm-svn: 293368
Diffstat (limited to 'llvm/lib/Target/WebAssembly')
-rw-r--r--llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp
index 022a448590e..f3384210b0e 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud