aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegAlloc/LiveRange.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-02-05 03:51:37 +0000
committerChris Lattner <sabre@nondot.org>2002-02-05 03:51:37 +0000
commit569ea239f0556f1341a216eac8aed4d3cdaecbf1 (patch)
tree83cd46583adff9b6860ff551b7a368c1847a0761 /lib/CodeGen/RegAlloc/LiveRange.h
parent7471a7b019b2c4bb9d91a1e1aaf6328e2fc97256 (diff)
* Code Cleanups of IGNode.h
* Removal of getTypeID() methods, and dependence on llvm/Type.h, from IGNode & LiveRange git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1717 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAlloc/LiveRange.h')
-rw-r--r--lib/CodeGen/RegAlloc/LiveRange.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/CodeGen/RegAlloc/LiveRange.h b/lib/CodeGen/RegAlloc/LiveRange.h
index 6c2952af6b..5f3e41bd15 100644
--- a/lib/CodeGen/RegAlloc/LiveRange.h
+++ b/lib/CodeGen/RegAlloc/LiveRange.h
@@ -12,11 +12,12 @@
#define LIVE_RANGE_H
#include "llvm/Analysis/LiveVar/ValueSet.h"
-#include "llvm/Type.h"
+#include "llvm/Value.h"
#include <iostream>
class RegClass;
class IGNode;
+class Type;
class LiveRange : public ValueSet {
RegClass *MyRegClass; // register classs (e.g., int, FP) for this LR
@@ -134,10 +135,6 @@ public:
return (*begin())->getType(); // set's don't have a front
}
- inline Type::PrimitiveID getTypeID() const {
- return getType()->getPrimitiveID();
- }
-
inline void setSuggestedColor(int Col) {
if (SuggestedColor == -1)
SuggestedColor = Col;