Skip to content

Commit

Permalink
Fix an unused warning in WebAssemblyInstPrinter with NDEBUG.
Browse files Browse the repository at this point in the history
Patch by Sam McCall!

Differential Revision: https://reviews.llvm.org/D25934

llvm-svn: 285055
  • Loading branch information
d0k committed Oct 25, 2016
1 parent facb37c commit 7df3043
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
@@ -154,6 +154,7 @@ void WebAssemblyInstPrinter::printOperand(const MCInst *MI, unsigned OpNo,
(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

0 comments on commit 7df3043

Please sign in to comment.