[x86] Fix unused variable warning in no-asserts build.

llvm-svn: 213989
This commit is contained in:
Chandler Carruth 2014-07-26 00:04:41 +00:00
parent 6da2d97a32
commit 0e469609f3
1 changed files with 1 additions and 0 deletions

View File

@ -1000,6 +1000,7 @@ void X86AsmPrinter::EmitInstruction(const MachineInstr *MI) {
const MachineConstantPoolEntry &MaskConstantEntry = const MachineConstantPoolEntry &MaskConstantEntry =
Constants[MI->getOperand(5).getIndex()]; Constants[MI->getOperand(5).getIndex()];
Type *MaskTy = MaskConstantEntry.getType(); Type *MaskTy = MaskConstantEntry.getType();
(void)MaskTy;
if (!MaskConstantEntry.isMachineConstantPoolEntry()) if (!MaskConstantEntry.isMachineConstantPoolEntry())
if (auto *C = dyn_cast<ConstantDataSequential>( if (auto *C = dyn_cast<ConstantDataSequential>(
MaskConstantEntry.Val.ConstVal)) { MaskConstantEntry.Val.ConstVal)) {