diff options
Diffstat (limited to 'lib/CodeGen/RegAlloc/LiveRange.h')
-rw-r--r-- | lib/CodeGen/RegAlloc/LiveRange.h | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/lib/CodeGen/RegAlloc/LiveRange.h b/lib/CodeGen/RegAlloc/LiveRange.h index 8034751da9..e1e2992a69 100644 --- a/lib/CodeGen/RegAlloc/LiveRange.h +++ b/lib/CodeGen/RegAlloc/LiveRange.h @@ -26,13 +26,9 @@ class IGNode; // 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 @@ class LiveRange : public ValueSet } inline Type::PrimitiveID getTypeID() const { - return this->getType()->getPrimitiveID(); + return getType()->getPrimitiveID(); } inline void setSuggestedColor(int Col) { @@ -176,8 +172,10 @@ class LiveRange : public ValueSet 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 @@ class LiveRange : public ValueSet inline unsigned getSpillCost() const { return SpillCost; } - }; - - - - #endif - |