Fix unused variable warnings.
authorDan Gohman <dan433584@gmail.com>
Thu, 31 Oct 2013 22:58:11 +0000 (22:58 +0000)
committerDan Gohman <dan433584@gmail.com>
Thu, 31 Oct 2013 22:58:11 +0000 (22:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193823 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86MCInstLower.cpp

index 04d1ad57a75ffa2da1fde114a193217e9496b98e..92a111843f68bfed908887157fb01a99432df764 100644 (file)
@@ -708,6 +708,9 @@ parseMemoryOperand(StackMaps::Location::LocationType LocTy,
          Index.isReg() && Index.getReg() == 0 &&
          Disp.isImm() && ZeroReg.isReg() && (ZeroReg.getReg() == 0) &&
          "Unsupported x86 memory operand sequence.");
+  (void)Scale;
+  (void)Index;
+  (void)ZeroReg;
 
   return std::make_pair(
            Location(LocTy, Base.getReg(), Disp.getImm()), ++MOI);