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:
Brian Gaeke 2003-09-24 04:29:52 +00:00
parent 02dea4b355
commit eefaeb84f1
2 changed files with 0 additions and 26 deletions

View File

@ -95,29 +95,16 @@ public:
//
inline void decCurDegree() { assert(CurDegree > 0); --CurDegree; }
// The following methods call the methods in ParentLR
// They are added to this class for convenience
// If many of these are called within a single scope,
// 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 unsigned int getColor() const { return ParentLR->getColor(); }
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; }
};

View File

@ -95,29 +95,16 @@ public:
//
inline void decCurDegree() { assert(CurDegree > 0); --CurDegree; }
// The following methods call the methods in ParentLR
// They are added to this class for convenience
// If many of these are called within a single scope,
// 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 unsigned int getColor() const { return ParentLR->getColor(); }
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; }
};