* Minor cleanups
* Reduce number of #includes, sometimes drastically (LiveRangeInfo.h lost _7_)
* Move instrIsFeasible() from InstrScheduling.h to SchedPriorities.h
* Delete blank lines at end of files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1672 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/RegAlloc/LiveRange.h b/lib/CodeGen/RegAlloc/LiveRange.h
index 8034751..e1e2992 100644
--- a/lib/CodeGen/RegAlloc/LiveRange.h
+++ b/lib/CodeGen/RegAlloc/LiveRange.h
@@ -26,13 +26,9 @@
// of Values.
//----------------------------------------------------------------------------
-class LiveRange : public ValueSet
-{
- private:
-
+class LiveRange : public ValueSet {
RegClass *MyRegClass; // register classs (e.g., int, FP) for this LR
-
bool doesSpanAcrossCalls;
//
// Does this live range span across calls?
@@ -168,7 +164,7 @@
}
inline Type::PrimitiveID getTypeID() const {
- return this->getType()->getPrimitiveID();
+ return getType()->getPrimitiveID();
}
inline void setSuggestedColor(int Col) {
@@ -176,8 +172,10 @@
if(SuggestedColor == -1 )
SuggestedColor = Col;
+#if 0
else if (DEBUG_RA)
std::cerr << "Already has a suggested color " << Col << "\n";
+#endif
}
inline unsigned getSuggestedColor() const {
@@ -206,12 +204,6 @@
inline unsigned getSpillCost() const {
return SpillCost;
}
-
};
-
-
-
-
#endif
-