Interval::HeaderNode is now accessed thorugh an accessor function
authorChris Lattner <sabre@nondot.org>
Fri, 22 Jun 2001 02:23:39 +0000 (02:23 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 22 Jun 2001 02:23:39 +0000 (02:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/Interval.cpp

index 05cfa7560b23c828d7c4491525c9ee5df983032c..69935dba632d88080db8fa5adf87f9f68dbdffe2 100644 (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