llvm.org GIT mirror llvm / a0eb461
Prepare for split between Interval, IntervalIterator, and IntervalIPartition git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 19 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
3939 for_each(begin(), end(), deleter);
4040 }
4141
42
42 #if 0
4343 // getNodeHeader - Given a source graph node and the source graph, return the
4444 // BasicBlock that is the header node. This is the opposite of
4545 // getSourceGraphNode.
4747 inline static BasicBlock *getNodeHeader(BasicBlock *BB) { return BB; }
4848 inline static BasicBlock *getNodeHeader(Interval *I) { return I->getHeaderNode(); }
4949
50
5150 // getSourceGraphNode - Given a BasicBlock and the source graph, return the
5251 // source graph node that corresponds to the BasicBlock. This is the opposite
5352 // of getNodeHeader.
5958 BasicBlock *BB) {
6059 return IP->getBlockInterval(BB);
6160 }
61 #endif
6262
6363
6464 // addNodeToInterval - This method exists to assist the generic ProcessNode