patch applied (ghc): Add support for NoSpecConstr annotation
Roman Leshchinskiy
rl at cse.unsw.edu.au
Thu Oct 29 11:29:10 EDT 2009
Thu Oct 29 07:47:43 PDT 2009 Roman Leshchinskiy <rl at cse.unsw.edu.au>
* Add support for NoSpecConstr annotation
Ignore-this: c5ba1858ce0d06ec9951d221e5f5a328
Annotating a type with NoSpecConstr will prevent SpecConstr from specialising
on arguments of that type. The syntax is
import SpecConstr
{-# ANN type T NoSpecConstr #-}
M ./compiler/simplCore/SimplCore.lhs -1 +1
M ./compiler/specialise/SpecConstr.lhs -26 +77
View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20091029144743-b2b0a-fcb2826ab65610a80b407c7061389a6270c28159.gz
More information about the Cvs-ghc
mailing list