aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-02-11 01:17:58 +0000
committerChris Lattner <sabre@nondot.org>2004-02-11 01:17:58 +0000
commited97ad63c2b3c31703aae31cefcfe0e32e1b47c5 (patch)
tree2fa93ae948eb0b183b546c9cf519a19c13aeaac5
parentb171942441fc1e4bf1d09166d74f14255b872ce7 (diff)
Remove long obsolete method. switch instructions are first class entities in the CFG, and have been for a LOOOONG time.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11303 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/BasicBlock.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/llvm/BasicBlock.h b/include/llvm/BasicBlock.h
index ad6cdd8fed..0e12cab223 100644
--- a/include/llvm/BasicBlock.h
+++ b/include/llvm/BasicBlock.h
@@ -133,13 +133,6 @@ public:
return V->getValueType() == Value::BasicBlockVal;
}
- /// hasConstantReferences() - This predicate is true if there is a
- /// reference to this basic block in the constant pool for this method. For
- /// example, if a block is reached through a switch table, that table resides
- /// in the constant pool, and the basic block is reference from it.
- ///
- bool hasConstantReferences() const;
-
/// dropAllReferences() - This function causes all the subinstructions to "let
/// go" of all references that they are maintaining. This allows one to
/// 'delete' a whole class at a time, even though there may be circular