Added std:: to mem_fun for 64-bit gcc
authorAnand Shukla <ashukla@cs.uiuc.edu>
Tue, 9 Jul 2002 19:16:59 +0000 (19:16 +0000)
committerAnand Shukla <ashukla@cs.uiuc.edu>
Tue, 9 Jul 2002 19:16:59 +0000 (19:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2845 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/SparcV9/SparcV9RegInfo.cpp

index a040c065df57eddfca4f56bbdec4bea0196a6fca..86ee00c79a006bade2ba453b8efb0d38a6ca35f1 100644 (file)
@@ -1431,10 +1431,10 @@ void UltraSparcRegInfo::insertCallerSavingCode(MachineInstr *CallMI,
              cerr << "\nFor call inst:" << *CallMI;
              cerr << " -inserted caller saving instrs: Before:\n\t ";
               for_each(instrnsBefore.begin(), instrnsBefore.end(),
-                       mem_fun(&MachineInstr::dump));
+                       std::mem_fun(&MachineInstr::dump));
              cerr << " -and After:\n\t ";
               for_each(instrnsAfter.begin(), instrnsAfter.end(),
-                       mem_fun(&MachineInstr::dump));
+                       std::mem_fun(&MachineInstr::dump));
            }       
          } // if not already pushed