mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
fix use of std::std. it's ordered set.
llvm-svn: 173563
This commit is contained in:
parent
731f502bbd
commit
bcf0501249
@ -206,14 +206,14 @@ const char *MipsTargetLowering::getTargetNodeName(unsigned Opcode) const {
|
||||
}
|
||||
|
||||
namespace {
|
||||
struct eqstr {
|
||||
struct ltstr {
|
||||
bool operator()(const char *s1, const char *s2) const
|
||||
{
|
||||
return strcmp(s1, s2) == 0;
|
||||
return strcmp(s1, s2) < 0;
|
||||
}
|
||||
};
|
||||
|
||||
std::set<const char*, eqstr> noHelperNeeded;
|
||||
std::set<const char*, ltstr> noHelperNeeded;
|
||||
|
||||
const char* addToNoHelperNeeded(const char* s) {
|
||||
noHelperNeeded.insert(s);
|
||||
|
Loading…
x
Reference in New Issue
Block a user