OSDN Git Service

[x86] Fix unused variable warning in no-asserts build.
authorChandler Carruth <chandlerc@gmail.com>
Sat, 26 Jul 2014 00:04:41 +0000 (00:04 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sat, 26 Jul 2014 00:04:41 +0000 (00:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213989 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86MCInstLower.cpp

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