mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-10 02:25:47 +00:00
Use the correct comparator to avoid depending on pointer values.
This should fix the Linux buildbots. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133334 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -245,7 +245,8 @@ bool CodeGenRegisterClass::hasSubClass(const CodeGenRegisterClass *RC) const {
|
||||
return SpillAlignment && RC->SpillAlignment % SpillAlignment == 0 &&
|
||||
SpillSize <= RC->SpillSize &&
|
||||
std::includes(Members.begin(), Members.end(),
|
||||
RC->Members.begin(), RC->Members.end());
|
||||
RC->Members.begin(), RC->Members.end(),
|
||||
CodeGenRegister::Less());
|
||||
}
|
||||
|
||||
const std::string &CodeGenRegisterClass::getName() const {
|
||||
|
Reference in New Issue
Block a user