mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-17 00:57:54 +00:00
Remove use of bind_obj
llvm-svn: 20276
This commit is contained in:
parent
2024801b74
commit
b5256c157d
@ -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…
x
Reference in New Issue
Block a user