X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2FstgSyn%2FCoreToStg.lhs;h=4ff2d3ae19a26e8e4b4b0ee1ed5eb4fdde7ed32e;hb=bd3fdabc98a87e7ebf124e9c26f6a7f89cb214e1;hp=10cb1ce1441ecf914ad36c94e7c8e6cca2c299a8;hpb=148227dc4e67d89a2036251ef3ad72fed1e44c0f;p=ghc-hetmet.git diff --git a/ghc/compiler/stgSyn/CoreToStg.lhs b/ghc/compiler/stgSyn/CoreToStg.lhs index 10cb1ce..4ff2d3a 100644 --- a/ghc/compiler/stgSyn/CoreToStg.lhs +++ b/ghc/compiler/stgSyn/CoreToStg.lhs @@ -273,8 +273,8 @@ exprToRhs dem _ (StgLam _ bndrs body) We reject the following candidates for 'static constructor'dom: - any dcon that takes a lit-lit as an arg. - - [Win32 DLLs only]: any dcon that is (or takes as arg) - that's living in a DLL. + - [Win32 DLLs only]: any dcon that resides in a DLL + (or takes as arg something that is.) These constraints are necessary to ensure that the code generated in the end for the static constructors, which