changed mem_fun to std::mem_fun

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2847 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Anand Shukla 2002-07-09 19:18:56 +00:00
parent e086f4e897
commit d58290ed3b
2 changed files with 4 additions and 4 deletions

View File

@ -682,8 +682,8 @@ void PhyRegAlloc::insertCode4SpilledLR(const LiveRange *LR,
cerr << "\nFor Inst " << *MInst;
cerr << " - SPILLED LR: "; printSet(*LR);
cerr << "\n - Added Instructions:";
for_each(MIBef.begin(), MIBef.end(), mem_fun(&MachineInstr::dump));
for_each(MIAft.begin(), MIAft.end(), mem_fun(&MachineInstr::dump));
for_each(MIBef.begin(), MIBef.end(), std::mem_fun(&MachineInstr::dump));
for_each(MIAft.begin(), MIAft.end(), std::mem_fun(&MachineInstr::dump));
}
}

View File

@ -682,8 +682,8 @@ void PhyRegAlloc::insertCode4SpilledLR(const LiveRange *LR,
cerr << "\nFor Inst " << *MInst;
cerr << " - SPILLED LR: "; printSet(*LR);
cerr << "\n - Added Instructions:";
for_each(MIBef.begin(), MIBef.end(), mem_fun(&MachineInstr::dump));
for_each(MIAft.begin(), MIAft.end(), mem_fun(&MachineInstr::dump));
for_each(MIBef.begin(), MIBef.end(), std::mem_fun(&MachineInstr::dump));
for_each(MIAft.begin(), MIAft.end(), std::mem_fun(&MachineInstr::dump));
}
}