[llvm] r193823 - Fix unused variable warnings.

Dan Gohman dan433584 at gmail.com
Thu Oct 31 15:58:12 PDT 2013


Author: djg
Date: Thu Oct 31 17:58:11 2013
New Revision: 193823

URL: http://llvm.org/viewvc/llvm-project?rev=193823&view=rev
Log:
Fix unused variable warnings.

Modified:
    llvm/trunk/lib/Target/X86/X86MCInstLower.cpp

Modified: llvm/trunk/lib/Target/X86/X86MCInstLower.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86MCInstLower.cpp?rev=193823&r1=193822&r2=193823&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86MCInstLower.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86MCInstLower.cpp Thu Oct 31 17:58:11 2013
@@ -708,6 +708,9 @@ parseMemoryOperand(StackMaps::Location::
          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);





More information about the llvm-commits mailing list