summaryrefslogtreecommitdiff
path: root/lib/Analysis/Interval.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-06-24 03:25:01 +0000
committerChris Lattner <sabre@nondot.org>2001-06-24 03:25:01 +0000
commita0eb461263968a442b910303744898e6dec7baca (patch)
tree191858cf70d10b1bbe59afc38458a332b65e46e1 /lib/Analysis/Interval.cpp
parentcf1760aff017655543c801e242b2c436bcc0021a (diff)
downloadllvm-a0eb461263968a442b910303744898e6dec7baca.tar.gz
llvm-a0eb461263968a442b910303744898e6dec7baca.tar.bz2
llvm-a0eb461263968a442b910303744898e6dec7baca.tar.xz
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
Diffstat (limited to 'lib/Analysis/Interval.cpp')
-rw-r--r--lib/Analysis/Interval.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Analysis/Interval.cpp b/lib/Analysis/Interval.cpp
index 69935dba63..afa550db72 100644
--- a/lib/Analysis/Interval.cpp
+++ b/lib/Analysis/Interval.cpp
@@ -40,7 +40,7 @@ IntervalPartition::~IntervalPartition() {
for_each(begin(), end(), deleter<cfg::Interval>);
}
-
+#if 0
// getNodeHeader - Given a source graph node and the source graph, return the
// BasicBlock that is the header node. This is the opposite of
// getSourceGraphNode.
@@ -48,7 +48,6 @@ IntervalPartition::~IntervalPartition() {
inline static BasicBlock *getNodeHeader(BasicBlock *BB) { return BB; }
inline static BasicBlock *getNodeHeader(Interval *I) { return I->getHeaderNode(); }
-
// getSourceGraphNode - Given a BasicBlock and the source graph, return the
// source graph node that corresponds to the BasicBlock. This is the opposite
// of getNodeHeader.
@@ -60,6 +59,7 @@ inline static Interval *getSourceGraphNode(IntervalPartition *IP,
BasicBlock *BB) {
return IP->getBlockInterval(BB);
}
+#endif
// addNodeToInterval - This method exists to assist the generic ProcessNode