mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
Merge .debug_loc entries whenever possible to reduce debug_loc size.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124904 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -41,6 +41,11 @@ public:
|
||||
: IsRegister(true), Register(R), Offset(0) {}
|
||||
MachineLocation(unsigned R, int O)
|
||||
: IsRegister(false), Register(R), Offset(O) {}
|
||||
|
||||
bool operator==(const MachineLocation &Other) const {
|
||||
return IsRegister == Other.IsRegister && Register == Other.Register &&
|
||||
Offset == Other.Offset;
|
||||
}
|
||||
|
||||
// Accessors
|
||||
bool isReg() const { return IsRegister; }
|
||||
|
||||
Reference in New Issue
Block a user