[llvm-commits] CVS: llvm/include/llvm/BasicBlock.h

Chris Lattner lattner at cs.uiuc.edu
Tue Feb 10 19:19:02 PST 2004


Changes in directory llvm/include/llvm:

BasicBlock.h updated: 1.37 -> 1.38

---
Log message:

Remove long obsolete method.  switch instructions are first class entities in the CFG, and have been for a LOOOONG time.


---
Diffs of the changes:  (+0 -7)

Index: llvm/include/llvm/BasicBlock.h
diff -u llvm/include/llvm/BasicBlock.h:1.37 llvm/include/llvm/BasicBlock.h:1.38
--- llvm/include/llvm/BasicBlock.h:1.37	Tue Feb  3 21:57:34 2004
+++ llvm/include/llvm/BasicBlock.h	Tue Feb 10 19:17:58 2004
@@ -133,13 +133,6 @@
     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





More information about the llvm-commits mailing list