Cache the sizes of vectors instead of calculating them all over the place.
authorBill Wendling <isanbard@gmail.com>
Tue, 7 Feb 2012 01:48:12 +0000 (01:48 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 7 Feb 2012 01:48:12 +0000 (01:48 +0000)
commitc5de7fea7b71b2b78f761512dc489c804ec6c18c
treeb1b36905fd0ea83543b47dff20f7dd5425210744
parenta7a3f04eb9a18c11940ab1486709c63c8bd296ff
Cache the sizes of vectors instead of calculating them all over the place.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149954 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/Type.cpp