mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 21:18:19 +00:00
rename use_const_iterator to const_use_iterator for consistency's sake
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99564 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -174,7 +174,7 @@ bool CodeGenPrepare::CanMergeBlocks(const BasicBlock *BB,
|
||||
// don't mess around with them.
|
||||
BasicBlock::const_iterator BBI = BB->begin();
|
||||
while (const PHINode *PN = dyn_cast<PHINode>(BBI++)) {
|
||||
for (Value::use_const_iterator UI = PN->use_begin(), E = PN->use_end();
|
||||
for (Value::const_use_iterator UI = PN->use_begin(), E = PN->use_end();
|
||||
UI != E; ++UI) {
|
||||
const Instruction *User = cast<Instruction>(*UI);
|
||||
if (User->getParent() != DestBB || !isa<PHINode>(User))
|
||||
|
||||
Reference in New Issue
Block a user