From 50364030ca306aa026ae6fd2358e6190d5abbda8 Mon Sep 17 00:00:00 2001 From: Brian Gaeke Date: Wed, 24 Sep 2003 04:29:52 +0000 Subject: Remove some unused methods of class IGNode. llvm-svn: 8696 --- llvm/lib/CodeGen/RegAlloc/IGNode.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'llvm/lib/CodeGen') diff --git a/llvm/lib/CodeGen/RegAlloc/IGNode.h b/llvm/lib/CodeGen/RegAlloc/IGNode.h index 8cb84099941..6743a908306 100644 --- a/llvm/lib/CodeGen/RegAlloc/IGNode.h +++ b/llvm/lib/CodeGen/RegAlloc/IGNode.h @@ -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; } }; -- cgit v1.2.3