mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
fix use of std::std. it's ordered set.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173563 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8090a24bd6
commit
d07c64dce6
@ -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…
Reference in New Issue
Block a user