Bug fix in TargetData::getIndexedOffset: We were using the pointer
authorVikram S. Adve <vadve@cs.uiuc.edu>
Tue, 13 Aug 2002 18:17:56 +0000 (18:17 +0000)
committerVikram S. Adve <vadve@cs.uiuc.edu>
Tue, 13 Aug 2002 18:17:56 +0000 (18:17 +0000)
commitca710e9cc5991369ef1ed5dc9fa5063d8feb24a2
treea857d1d96c0bc4b64d401e5ba2e33b455e5b0d9d
parent6c0c3010dab5581a994c82d9796e05e177fb279e
Bug fix in TargetData::getIndexedOffset: We were using the pointer
type instead of the element type for the element size for arrays.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3302 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/TargetData.cpp