From: Chris Lattner Date: Wed, 11 Feb 2004 01:17:58 +0000 (+0000) Subject: Remove long obsolete method. switch instructions are first class entities in the... X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ed97ad63c2b3c31703aae31cefcfe0e32e1b47c5;p=oota-llvm.git 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 --- diff --git a/include/llvm/BasicBlock.h b/include/llvm/BasicBlock.h index ad6cdd8fedb..0e12cab223a 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