diff options
author | Chris Lattner <sabre@nondot.org> | 2004-02-11 01:17:33 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-02-11 01:17:33 +0000 |
commit | b171942441fc1e4bf1d09166d74f14255b872ce7 (patch) | |
tree | 26407e466cdfc7d024a23728f697cb4bb72bb410 /lib | |
parent | 2355f948c59a2b4a78667d6898333524f9b78f27 (diff) | |
download | external_llvm-b171942441fc1e4bf1d09166d74f14255b872ce7.zip external_llvm-b171942441fc1e4bf1d09166d74f14255b872ce7.tar.gz external_llvm-b171942441fc1e4bf1d09166d74f14255b872ce7.tar.bz2 |
Remove obsolete method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11302 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/VMCore/BasicBlock.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/VMCore/BasicBlock.cpp b/lib/VMCore/BasicBlock.cpp index 99161d3..c24a61e 100644 --- a/lib/VMCore/BasicBlock.cpp +++ b/lib/VMCore/BasicBlock.cpp @@ -120,19 +120,6 @@ void BasicBlock::dropAllReferences() { I->dropAllReferences(); } -// 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 BasicBlock::hasConstantReferences() const { - for (use_const_iterator I = use_begin(), E = use_end(); I != E; ++I) - if (isa<Constant>((Value*)*I)) - return true; - - return false; -} - // removePredecessor - This method is used to notify a BasicBlock that the // specified Predecessor of the block is no longer able to reach it. This is // actually not used to update the Predecessor list, but is actually used to |