Use full contents size for arrays
authorPeter Wortmann <scpmw@leeds.ac.uk>
Wed, 29 May 2013 16:55:12 +0000 (17:55 +0100)
committerDavid Terei <davidterei@gmail.com>
Thu, 27 Jun 2013 20:39:11 +0000 (13:39 -0700)
commitfa6cbdfb6e5d572dc74622d1c12e259c208321ab
tree1cbf43a8991e46e66044fb1395e8edd6ee302867
parent8f0ecc0343b0a1c9fcbdf3224b2d9067dd549659
Use full contents size for arrays

I am not quite sure at what point it makes sense to look at arrays as
pointers, but I ran into at least one use case that strongly suggested
doing it this way (calculating the actual size of structures, to be exact).
compiler/llvmGen/Llvm/Types.hs