mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
Fix GCC warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14045 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9bf2a926cb
commit
c70a5092bf
@ -319,7 +319,7 @@ void Verifier::visitBasicBlock(BasicBlock &BB) {
|
||||
std::vector<BasicBlock*> Preds(pred_begin(&BB), pred_end(&BB));
|
||||
std::sort(Preds.begin(), Preds.end());
|
||||
PHINode *PN;
|
||||
for (BasicBlock::iterator I = BB.begin(); PN = dyn_cast<PHINode>(I); ++I) {
|
||||
for (BasicBlock::iterator I = BB.begin(); (PN = dyn_cast<PHINode>(I));++I) {
|
||||
|
||||
// Ensure that PHI nodes have at least one entry!
|
||||
Assert1(PN->getNumIncomingValues() != 0,
|
||||
|
Loading…
x
Reference in New Issue
Block a user