changed mem_fun to std::mem_fun


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2847 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp b/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
index 4df8ba4..ef41561 100644
--- a/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
+++ b/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
@@ -682,8 +682,8 @@
     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));
   }
 }