diff options
| author | Richard Trieu <rtrieu@google.com> | 2017-01-28 03:23:49 +0000 |
|---|---|---|
| committer | Richard Trieu <rtrieu@google.com> | 2017-01-28 03:23:49 +0000 |
| commit | 3de487b2e80851fe0fb3ec2af64da062e71c1baa (patch) | |
| tree | 4cbc005294f74172898310913bd485dc1794abf9 /llvm/lib/Target/WebAssembly | |
| parent | 152bcd2d0dbe07a0f2fe4320a7f0483bbc0376fe (diff) | |
| download | bcm5719-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.cpp | 4 |
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. |

