Fix unused variable warnings.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193823 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2013-10-31 22:58:11 +00:00
parent 6c4594f5b8
commit 36fd930ca4

View 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);