Remove the Type::getNumElements() method, which is only called in 4 places,

did something extremely surprising, and shadowed actually useful 
implementations that had completely different behavior.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148898 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2012-01-25 01:32:59 +00:00
parent 0f193b8a68
commit af7b4fb9be
4 changed files with 19 additions and 19 deletions

View 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.
//