From a4ef933a04724c939063ad64e00cbece0b1ef671 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 22 Jun 2001 02:23:39 +0000 Subject: [PATCH] Interval::HeaderNode is now accessed thorugh an accessor function git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/Interval.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Analysis/Interval.cpp b/lib/Analysis/Interval.cpp index 05cfa7560b2..69935dba632 100644 --- a/lib/Analysis/Interval.cpp +++ b/lib/Analysis/Interval.cpp @@ -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