Interval::HeaderNode is now accessed thorugh an accessor function

llvm-svn: 56
This commit is contained in:
Chris Lattner 2001-06-22 02:23:39 +00:00
parent 97c3480075
commit 34b62a04b6

View File

@ -46,7 +46,7 @@ IntervalPartition::~IntervalPartition() {
// getSourceGraphNode.
//
inline static BasicBlock *getNodeHeader(BasicBlock *BB) { return BB; }
inline static BasicBlock *getNodeHeader(Interval *I) { return I->HeaderNode; }
inline static BasicBlock *getNodeHeader(Interval *I) { return I->getHeaderNode(); }
// getSourceGraphNode - Given a BasicBlock and the source graph, return the