mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-19 04:32:19 +00:00
Remove some unused methods of class IGNode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8696 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
02dea4b355
commit
eefaeb84f1
@ -95,29 +95,16 @@ public:
|
|||||||
//
|
//
|
||||||
inline void decCurDegree() { assert(CurDegree > 0); --CurDegree; }
|
inline void decCurDegree() { assert(CurDegree > 0); --CurDegree; }
|
||||||
|
|
||||||
|
|
||||||
// The following methods call the methods in ParentLR
|
// The following methods call the methods in ParentLR
|
||||||
// They are added to this class for convenience
|
// They are added to this class for convenience
|
||||||
// If many of these are called within a single scope,
|
// If many of these are called within a single scope,
|
||||||
// consider calling the methods directly on LR
|
// consider calling the methods directly on LR
|
||||||
|
|
||||||
inline void setRegClass(RegClass *RC) { ParentLR->setRegClass(RC); }
|
|
||||||
|
|
||||||
inline RegClass *getRegClass() const { return ParentLR->getRegClass(); }
|
|
||||||
|
|
||||||
inline bool hasColor() const { return ParentLR->hasColor(); }
|
inline bool hasColor() const { return ParentLR->hasColor(); }
|
||||||
|
|
||||||
inline unsigned int getColor() const { return ParentLR->getColor(); }
|
inline unsigned int getColor() const { return ParentLR->getColor(); }
|
||||||
|
|
||||||
inline void setColor(unsigned Col) { ParentLR->setColor(Col); }
|
inline void setColor(unsigned Col) { ParentLR->setColor(Col); }
|
||||||
|
|
||||||
inline void markForSpill() { ParentLR->markForSpill(); }
|
|
||||||
|
|
||||||
inline void markForSaveAcrossCalls() { ParentLR->markForSaveAcrossCalls(); }
|
|
||||||
|
|
||||||
inline unsigned int isCallInterference() const
|
|
||||||
{ return ParentLR->isCallInterference(); }
|
|
||||||
|
|
||||||
inline LiveRange *getParentLR() const { return ParentLR; }
|
inline LiveRange *getParentLR() const { return ParentLR; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -95,29 +95,16 @@ public:
|
|||||||
//
|
//
|
||||||
inline void decCurDegree() { assert(CurDegree > 0); --CurDegree; }
|
inline void decCurDegree() { assert(CurDegree > 0); --CurDegree; }
|
||||||
|
|
||||||
|
|
||||||
// The following methods call the methods in ParentLR
|
// The following methods call the methods in ParentLR
|
||||||
// They are added to this class for convenience
|
// They are added to this class for convenience
|
||||||
// If many of these are called within a single scope,
|
// If many of these are called within a single scope,
|
||||||
// consider calling the methods directly on LR
|
// consider calling the methods directly on LR
|
||||||
|
|
||||||
inline void setRegClass(RegClass *RC) { ParentLR->setRegClass(RC); }
|
|
||||||
|
|
||||||
inline RegClass *getRegClass() const { return ParentLR->getRegClass(); }
|
|
||||||
|
|
||||||
inline bool hasColor() const { return ParentLR->hasColor(); }
|
inline bool hasColor() const { return ParentLR->hasColor(); }
|
||||||
|
|
||||||
inline unsigned int getColor() const { return ParentLR->getColor(); }
|
inline unsigned int getColor() const { return ParentLR->getColor(); }
|
||||||
|
|
||||||
inline void setColor(unsigned Col) { ParentLR->setColor(Col); }
|
inline void setColor(unsigned Col) { ParentLR->setColor(Col); }
|
||||||
|
|
||||||
inline void markForSpill() { ParentLR->markForSpill(); }
|
|
||||||
|
|
||||||
inline void markForSaveAcrossCalls() { ParentLR->markForSaveAcrossCalls(); }
|
|
||||||
|
|
||||||
inline unsigned int isCallInterference() const
|
|
||||||
{ return ParentLR->isCallInterference(); }
|
|
||||||
|
|
||||||
inline LiveRange *getParentLR() const { return ParentLR; }
|
inline LiveRange *getParentLR() const { return ParentLR; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user