projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f117d08
)
Add missing case to sizeofPrimRep
author
simonpj@microsoft.com
<unknown>
Sat, 4 Aug 2007 17:47:59 +0000
(17:47 +0000)
committer
simonpj@microsoft.com
<unknown>
Sat, 4 Aug 2007 17:47:59 +0000
(17:47 +0000)
compiler/types/TyCon.lhs
patch
|
blob
|
history
diff --git
a/compiler/types/TyCon.lhs
b/compiler/types/TyCon.lhs
index
85cbf22
..
9aa0fe5
100644
(file)
--- 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}
%************************************************************************