From: Dan Gohman Date: Thu, 31 Oct 2013 22:58:11 +0000 (+0000) Subject: Fix unused variable warnings. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=36fd930ca4e4cda7286c3e1eb189397a0575a128;p=llvm Fix unused variable warnings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193823 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86MCInstLower.cpp b/lib/Target/X86/X86MCInstLower.cpp index 04d1ad57a75..92a111843f6 100644 --- a/lib/Target/X86/X86MCInstLower.cpp +++ b/lib/Target/X86/X86MCInstLower.cpp @@ -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);