X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2FndpFlatten%2FPArrAnal.hs;h=804162c1831a65006416821254deb0ff28e0db88;hp=2db56221b24d73be2d310bc8e479fff4f414898d;hb=4714e5142548941592b208c34685ce684d1bf3d6;hpb=2a6d497b719b39d7d7d73051f3baa783db343abb diff --git a/compiler/ndpFlatten/PArrAnal.hs b/compiler/ndpFlatten/PArrAnal.hs index 2db5622..804162c 100644 --- a/compiler/ndpFlatten/PArrAnal.hs +++ b/compiler/ndpFlatten/PArrAnal.hs @@ -87,6 +87,10 @@ arrUsage (Note n expr) = arrUsage (Type t) = typeArrayUsage t +-- not quite sure this is right +arrUsage (Cast expr co) = + arrUsage expr + bindType (b, expr) = let bT = varArrayUsage b