From: Chandler Carruth Date: Thu, 22 Jul 2010 08:02:25 +0000 (+0000) Subject: Mark an assert-only variable as used. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=30d35b8720cb148eb4cc417b3710e0d66ce5ec95;p=oota-llvm.git Mark an assert-only variable as used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109091 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/ARM/ARMISelLowering.cpp b/lib/Target/ARM/ARMISelLowering.cpp index 8d1ed2ad188..0e33758508f 100644 --- a/lib/Target/ARM/ARMISelLowering.cpp +++ b/lib/Target/ARM/ARMISelLowering.cpp @@ -855,6 +855,7 @@ static bool f64AssignAAPCS(unsigned &ValNo, EVT &ValVT, EVT &LocVT, break; unsigned T = State.AllocateReg(LoRegList[i]); + (void)T; assert(T == LoRegList[i] && "Could not allocate register"); State.addLoc(CCValAssign::getCustomReg(ValNo, ValVT, Reg, LocVT, LocInfo));