Remove some unused methods of class IGNode.
authorBrian Gaeke <gaeke@uiuc.edu>
Wed, 24 Sep 2003 04:29:52 +0000 (04:29 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Wed, 24 Sep 2003 04:29:52 +0000 (04:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8696 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/RegAlloc/IGNode.h
lib/Target/SparcV9/RegAlloc/IGNode.h

index 8cb8409994160aea033aa87d7b59410bb798939f..6743a9083068c0f943a4ba04da5721014565a609 100644 (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; }
 };
 
index 8cb8409994160aea033aa87d7b59410bb798939f..6743a9083068c0f943a4ba04da5721014565a609 100644 (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; }
 };