Author: criswell
Date: Thu Nov 29 14:37:55 2007
New Revision: 1
URL: http://llvm.org/viewvc/llvm-project?rev=1&view=rev
Log:
Update use of TargetData->getTypeSize() to TargetData->getABITypeSize().
I believe we want all of the sizes to including ABI padding.
Modified:
poolalloc/trunk/
Hi John,
> Update use of TargetData->getTypeSize() to TargetData->getABITypeSize().
> I believe we want all of the sizes to including ABI padding.
you need to use getABITypeSize for GEP calculations, in particular for advancing
pointers or moving to the next array element (you shouldn't need this