forked from OSchip/llvm-project
parent
ddf0c26b6a
commit
aa54e50105
|
@ -737,7 +737,7 @@ namespace {
|
||||||
|
|
||||||
struct AliasPriorityComparator {
|
struct AliasPriorityComparator {
|
||||||
typedef std::pair<CodeGenInstAlias, int> ValueType;
|
typedef std::pair<CodeGenInstAlias, int> ValueType;
|
||||||
bool operator()(const ValueType &LHS, const ValueType &RHS) {
|
bool operator()(const ValueType &LHS, const ValueType &RHS) const {
|
||||||
if (LHS.second == RHS.second) {
|
if (LHS.second == RHS.second) {
|
||||||
// We don't actually care about the order, but for consistency it
|
// We don't actually care about the order, but for consistency it
|
||||||
// shouldn't depend on pointer comparisons.
|
// shouldn't depend on pointer comparisons.
|
||||||
|
|
Loading…
Reference in New Issue