From fb6249251d425b076c47013e5cf5c849cac31b46 Mon Sep 17 00:00:00 2001 From: "simonpj@microsoft.com" Date: Sat, 4 Aug 2007 17:47:59 +0000 Subject: [PATCH] Add missing case to sizeofPrimRep --- compiler/types/TyCon.lhs | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/types/TyCon.lhs b/compiler/types/TyCon.lhs index 85cbf22..9aa0fe5 100644 --- a/compiler/types/TyCon.lhs +++ b/compiler/types/TyCon.lhs @@ -467,6 +467,7 @@ sizeofPrimRep FloatRep = 4 sizeofPrimRep DoubleRep= 8 sizeofPrimRep AddrRep = wORD_SIZE sizeofPrimRep PtrRep = wORD_SIZE +sizeofPrimRep VoidRep = 0 \end{code} %************************************************************************ -- 1.7.10.4