[Mips] Remove an unnecessary wrapping of a predicate with std::ptr_fun. NFC
authorCraig Topper <craig.topper@gmail.com>
Mon, 23 Nov 2015 07:19:06 +0000 (07:19 +0000)
committerCraig Topper <craig.topper@gmail.com>
Mon, 23 Nov 2015 07:19:06 +0000 (07:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253855 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Mips/MipsISelLowering.cpp

index 142d14a13a29cbf3f62f8af9b9e45bb07c2c11ed..6756c1702f76b48bbf7173a497d59612ddc167d5 100644 (file)
@@ -3334,7 +3334,7 @@ static std::pair<bool, bool> parsePhysicalReg(StringRef C, StringRef &Prefix,
 
   // Search for the first numeric character.
   StringRef::const_iterator I, B = C.begin() + 1, E = C.end() - 1;
 
   // Search for the first numeric character.
   StringRef::const_iterator I, B = C.begin() + 1, E = C.end() - 1;
-  I = std::find_if(B, E, std::ptr_fun(isdigit));
+  I = std::find_if(B, E, isdigit);
 
   Prefix = StringRef(B, I - B);
 
 
   Prefix = StringRef(B, I - B);