Remove the Type::getNumElements() method, which is only called in 4 places,
[oota-llvm.git] / include / llvm / Type.h
index 95edb50459e91a7160cf731aab0417c664e357b0..e7c165b1bf132e4988b1c76fad349ce975a8c88d 100644 (file)
@@ -294,10 +294,6 @@ public:
   /// otherwise return 'this'.
   Type *getScalarType();
 
-  /// getNumElements - If this is a vector type, return the number of elements,
-  /// otherwise return zero.
-  unsigned getNumElements();
-
   //===--------------------------------------------------------------------===//
   // Type Iteration support.
   //