projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8090a24
)
fix use of std::std. it's ordered set.
author
Reed Kotler
<rkotler@mips.com>
Sat, 26 Jan 2013 06:58:35 +0000
(06:58 +0000)
committer
Reed Kotler
<rkotler@mips.com>
Sat, 26 Jan 2013 06:58:35 +0000
(06:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173563
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/Mips/MipsISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/Mips/MipsISelLowering.cpp
b/lib/Target/Mips/MipsISelLowering.cpp
index f37b652fec918db9b87d2e6e2079275302d3e688..0551bb4e49e862996d83136686f7a68c782da307 100644
(file)
--- a/
lib/Target/Mips/MipsISelLowering.cpp
+++ b/
lib/Target/Mips/MipsISelLowering.cpp
@@
-206,14
+206,14
@@
const char *MipsTargetLowering::getTargetNodeName(unsigned Opcode) const {
}
namespace {
- struct
eq
str {
+ struct
lt
str {
bool operator()(const char *s1, const char *s2) const
{
- return strcmp(s1, s2)
==
0;
+ return strcmp(s1, s2)
<
0;
}
};
- std::set<const char*,
eq
str> noHelperNeeded;
+ std::set<const char*,
lt
str> noHelperNeeded;
const char* addToNoHelperNeeded(const char* s) {
noHelperNeeded.insert(s);