[WebAssembly] Only call llvm::value::dump() in debug build.
authorEric Liu <ioeric@google.com>
Wed, 11 Jul 2018 08:16:47 +0000 (08:16 +0000)
committerEric Liu <ioeric@google.com>
Wed, 11 Jul 2018 08:16:47 +0000 (08:16 +0000)
commit867b0e41fe3fda89eaa83921de0d466afed44e5e
tree7a58f8e294625cc5284ad48a383c07baaaadc57e
parent8299e4b8dbe34e7986ba99db554956800aded4b0
[WebAssembly] Only call llvm::value::dump() in debug build.

This fixes compile error in r336759. llvm::value::dump is not available
in released build.

llvm-svn: 336770
llvm/lib/Target/WebAssembly/WebAssemblyAddMissingPrototypes.cpp