[llvm-commits] CVS: llvm/lib/CodeGen/RegAlloc/IGNode.h
Brian Gaeke
gaeke at cs.uiuc.edu
Tue Sep 23 23:31:01 PDT 2003
Changes in directory llvm/lib/CodeGen/RegAlloc:
IGNode.h updated: 1.15 -> 1.16
---
Log message:
Remove some unused methods of class IGNode.
---
Diffs of the changes:
Index: llvm/lib/CodeGen/RegAlloc/IGNode.h
diff -u llvm/lib/CodeGen/RegAlloc/IGNode.h:1.15 llvm/lib/CodeGen/RegAlloc/IGNode.h:1.16
--- llvm/lib/CodeGen/RegAlloc/IGNode.h:1.15 Sat Sep 20 21:31:15 2003
+++ llvm/lib/CodeGen/RegAlloc/IGNode.h Tue Sep 23 23:29:52 2003
@@ -95,28 +95,15 @@
//
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; }
};
More information about the llvm-commits
mailing list