mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
Remove use of bind_obj
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20276 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
127a8a7764
commit
cfa2f8eef4
@ -116,8 +116,9 @@ void ADCE::markBlockAlive(BasicBlock *BB) {
|
||||
if (It != CDG.end()) {
|
||||
// Get the blocks that this node is control dependent on...
|
||||
const PostDominanceFrontier::DomSetType &CDB = It->second;
|
||||
for_each(CDB.begin(), CDB.end(), // Mark all their terminators as live
|
||||
bind_obj(this, &ADCE::markTerminatorLive));
|
||||
for (PostDominanceFrontier::DomSetType::const_iterator I =
|
||||
CDB.begin(), E = CDB.end(); I != E; ++I)
|
||||
markTerminatorLive(*I); // Mark all their terminators as live
|
||||
}
|
||||
|
||||
// If this basic block is live, and it ends in an unconditional branch, then
|
||||
|
Loading…
Reference in New Issue
Block a user