[project @ 1998-07-09 10:06:57 by simonpj]
authorsimonpj <unknown>
Thu, 9 Jul 1998 10:06:57 +0000 (10:06 +0000)
committersimonpj <unknown>
Thu, 9 Jul 1998 10:06:57 +0000 (10:06 +0000)
Put IMustBeINLINEd on constructors

ghc/compiler/basicTypes/MkId.lhs

index f9f7710..3f3deb0 100644 (file)
@@ -177,8 +177,10 @@ Notice that
 dataConInfo :: Id -> IdInfo
 
 dataConInfo con_id
-  = setInlinePragInfo IWantToBeINLINEd $
-               -- Always inline constructors if possible
+  = setInlinePragInfo IMustBeINLINEd $
+               -- Always inline constructors; we don't create a binding for them
+               -- (well, at least not for dict constructors, since they are 
+               --  always applied)
     setArityInfo (exactArity (length locals)) $
     setUnfoldingInfo unfolding $
     noIdInfo