Mark an assert-only variable as used.

llvm-svn: 109091
This commit is contained in:
Chandler Carruth 2010-07-22 08:02:25 +00:00
parent 4810e179e9
commit e10953d673

View File

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