diff options
author | Craig Topper <craig.topper@gmail.com> | 2015-10-17 21:32:26 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2015-10-17 21:32:26 +0000 |
commit | a8334511738f59d24da10ec4dfd6189fc7c84dc1 (patch) | |
tree | acfc829a915e3690e7db38dde2bc1e8c6f462a0a /llvm/lib/Target/Mips/MipsISelLowering.h | |
parent | 01cb379fedfbe322d315afb9fad629315ab407d6 (diff) | |
download | bcm5719-llvm-a8334511738f59d24da10ec4dfd6189fc7c84dc1.tar.gz bcm5719-llvm-a8334511738f59d24da10ec4dfd6189fc7c84dc1.zip |
Use std::is_sorted to replace a custom version. Also replace a comparison predicate struct with a lambda.
llvm-svn: 250623
Diffstat (limited to 'llvm/lib/Target/Mips/MipsISelLowering.h')
-rw-r--r-- | llvm/lib/Target/Mips/MipsISelLowering.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/Target/Mips/MipsISelLowering.h b/llvm/lib/Target/Mips/MipsISelLowering.h index b0204ca516d..632eefd6009 100644 --- a/llvm/lib/Target/Mips/MipsISelLowering.h +++ b/llvm/lib/Target/Mips/MipsISelLowering.h @@ -258,12 +258,6 @@ namespace llvm { EmitInstrWithCustomInserter(MachineInstr *MI, MachineBasicBlock *MBB) const override; - struct LTStr { - bool operator()(const char *S1, const char *S2) const { - return strcmp(S1, S2) < 0; - } - }; - void HandleByVal(CCState *, unsigned &, unsigned) const override; unsigned getRegisterByName(const char* RegName, EVT VT, |