mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
[StackMap] Use lambdas to specify the sort and erase conditions. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241823 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -152,13 +152,6 @@ public:
|
||||
unsigned short DwarfRegNum;
|
||||
unsigned short Size;
|
||||
|
||||
void MarkInvalid() { Reg = 0; }
|
||||
|
||||
// Only sort by the dwarf register number.
|
||||
bool operator<(const LiveOutReg &LO) const {
|
||||
return DwarfRegNum < LO.DwarfRegNum;
|
||||
}
|
||||
static bool IsInvalid(const LiveOutReg &LO) { return LO.Reg == 0; }
|
||||
LiveOutReg() : Reg(0), DwarfRegNum(0), Size(0) {}
|
||||
LiveOutReg(unsigned short Reg, unsigned short DwarfRegNum,
|
||||
unsigned short Size)
|
||||
|
Reference in New Issue
Block a user