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 2f8db38bb3
commit a1d7516cb7
1 changed files with 1 additions and 0 deletions

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