From 36fd930ca4e4cda7286c3e1eb189397a0575a128 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 31 Oct 2013 22:58:11 +0000 Subject: [PATCH] Fix unused variable warnings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193823 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86MCInstLower.cpp | 3 +++ 1 file changed, 3 insertions(+) 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);