Remove the Type::getNumElements() method, which is only called in 4 places,
authorChris Lattner <sabre@nondot.org>
Wed, 25 Jan 2012 01:32:59 +0000 (01:32 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 25 Jan 2012 01:32:59 +0000 (01:32 +0000)
commitaf7b4fb9bec3858f0374d713dcbf3398a23c6fbe
tree5320eb10bc18e29dc860f77c25de62ed2475f975
parent0f193b8a6846dab25323788638e760ae03b7cd87
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
include/llvm/Type.h
lib/VMCore/Constants.cpp
lib/VMCore/Instructions.cpp
lib/VMCore/Type.cpp