[PATCH] D25934: Fix an unused warning in WebAssemblyInstPrinter with NDEBUG.
Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 25 02:18:22 PDT 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL285055: Fix an unused warning in WebAssemblyInstPrinter with NDEBUG. (authored by d0k).
Changed prior to commit:
https://reviews.llvm.org/D25934?vs=75676&id=75677#toc
Repository:
rL LLVM
https://reviews.llvm.org/D25934
Files:
llvm/trunk/lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.cpp
Index: llvm/trunk/lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.cpp
===================================================================
--- llvm/trunk/lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.cpp
+++ llvm/trunk/lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.cpp
@@ -154,6 +154,7 @@
(Desc.TSFlags & WebAssemblyII::VariableOpIsImmediate)) &&
"WebAssemblyII::VariableOpIsImmediate should be set for "
"variable_ops immediate ops");
+ (void)Desc;
// TODO: (MII.get(MI->getOpcode()).TSFlags &
// WebAssemblyII::VariableOpImmediateIsLabel)
// can tell us whether this is an immediate referencing a label in the
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25934.75677.patch
Type: text/x-patch
Size: 707 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161025/08589cdd/attachment.bin>
More information about the llvm-commits
mailing list