[PATCH] D25934: Fix an unused warning in WebAssemblyInstPrinter with NDEBUG.
Sam McCall via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 25 02:08:32 PDT 2016
sammccall created this revision.
sammccall added a reviewer: bkramer.
sammccall added a subscriber: llvm-commits.
Herald added subscribers: dschuff, jfb.
Fix an unused warning in WebAssemblyInstPrinter with NDEBUG.
https://reviews.llvm.org/D25934
Files:
lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.cpp
Index: lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.cpp
===================================================================
--- lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.cpp
+++ 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.75676.patch
Type: text/x-patch
Size: 674 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161025/eaa763fc/attachment.bin>
More information about the llvm-commits
mailing list