Add comment to emphasize that the while body is empty.

llvm-svn: 66115
This commit is contained in:
Bill Wendling 2009-03-05 01:08:35 +00:00
parent f5d8ba86cc
commit 0bf1ded7bd
1 changed files with 2 additions and 2 deletions

View File

@ -153,7 +153,7 @@ void CondProp::SimplifyPredecessors(BranchInst *BI) {
return;
BasicBlock::iterator BBI = BB->begin();
BasicBlock::iterator BBE = BB->end();
while (BBI != BBE && isa<DbgInfoIntrinsic>(++BBI)) ;
while (BBI != BBE && isa<DbgInfoIntrinsic>(++BBI)) /* empty */;
if (&*BBI != BI)
return;
@ -192,7 +192,7 @@ void CondProp::SimplifyPredecessors(SwitchInst *SI) {
return;
BasicBlock::iterator BBI = BB->begin();
BasicBlock::iterator BBE = BB->end();
while (BBI != BBE && isa<DbgInfoIntrinsic>(++BBI)) ;
while (BBI != BBE && isa<DbgInfoIntrinsic>(++BBI)) /* empty */;
if (&*BBI != SI)
return;