[globalisel][tablegen] Fix an unused variable warning in release builds after r307133

llvm-svn: 307138
This commit is contained in:
Daniel Sanders 2017-07-05 10:16:48 +00:00
parent 283b9f2de3
commit 1745076c59
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ void InstructionSelector::executeEmitTable(NewMIVector &OutMIs,
break;
}
case GIR_BuildMI: {
int64_t InsnID = *Command++;
int64_t InsnID LLVM_ATTRIBUTE_UNUSED = *Command++;
int64_t Opcode = *Command++;
assert((size_t)InsnID == OutMIs.size() &&
"Expected to store MIs in order");