1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

[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 ce80090e48
commit 0251f5055d

View File

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