eliminate the Constant::getVectorElements method. There are better (and
[oota-llvm.git] / include / llvm / Constant.h
index f7d4dd2d32a663a745551ad3ae59fb3116ea82f6..11a02e080f9a18fcfd21be5cd6301c1b1e85a457 100644 (file)
@@ -91,12 +91,6 @@ public:
   /// FIXME: This really should not be in VMCore.
   PossibleRelocationsTy getRelocationInfo() const;
   
-  /// getVectorElements - This method, which is only valid on constant of vector
-  /// type, returns the elements of the vector in the specified smallvector.
-  /// This handles breaking down a vector undef into undef elements, etc.  For
-  /// constant exprs and other cases we can't handle, we return an empty vector.
-  void getVectorElements(SmallVectorImpl<Constant*> &Elts) const;
-
   /// getAggregateElement - For aggregates (struct/array/vector) return the
   /// constant that corresponds to the specified element if possible, or null if
   /// not.  This can return null if the element index is a ConstantExpr, or if