summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/MipsISelLowering.h
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2015-10-17 21:32:26 +0000
committerCraig Topper <craig.topper@gmail.com>2015-10-17 21:32:26 +0000
commita8334511738f59d24da10ec4dfd6189fc7c84dc1 (patch)
treeacfc829a915e3690e7db38dde2bc1e8c6f462a0a /llvm/lib/Target/Mips/MipsISelLowering.h
parent01cb379fedfbe322d315afb9fad629315ab407d6 (diff)
downloadbcm5719-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.h6
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,
OpenPOWER on IntegriCloud