simonmar 2003/09/23 07:33:05 PDT
Modified files:
ghc/compiler/basicTypes BasicTypes.lhs DataCon.lhs
ghc/compiler/deSugar DsListComp.lhs DsMeta.hs
ghc/compiler/ghci InteractiveUI.hs
ghc/compiler/main BinIface.hs CmdLineOpts.lhs
DriverFlags.hs DriverPipeline.hs
DriverState.hs Main.hs MkIface.lhs
TidyPgm.lhs
ghc/compiler/parser Parser.y
ghc/compiler/rename RnExpr.lhs RnHiFiles.lhs RnIfaces.lhs
ghc/compiler/simplCore SimplCore.lhs SimplUtils.lhs
ghc/compiler/typecheck TcTyDecls.lhs
Log:
- Convert many of the optimisation options into dynamic options (that is,
they can be mentioned in {-# OPTIONS #-} pragmas).
- Add a new way to specify constructor-field unboxing on a selective
basis. To tell the compiler to unbox a constructor field, do this:
data T = T !!Int
and GHC will store that field unboxed if possible. If it isn't possible
(say, because the field has a sum type) then the annotation is ignored.
The -funbox-strict-fields flag is now a dynamic flag, and has the same
effect as replacing all the '!' annotations with '!!'.
Revision Changes Path
1.32 +1 -0 fptools/ghc/compiler/basicTypes/BasicTypes.lhs
1.43 +4 -4 fptools/ghc/compiler/basicTypes/DataCon.lhs
1.44 +13 -11 fptools/ghc/compiler/deSugar/DsListComp.lhs
1.41 +1 -1 fptools/ghc/compiler/deSugar/DsMeta.hs
1.160 +6 -8 fptools/ghc/compiler/ghci/InteractiveUI.hs
1.16 +2 -4 fptools/ghc/compiler/main/BinIface.hs
1.177 +203 -33 fptools/ghc/compiler/main/CmdLineOpts.lhs
1.125 +25 -31 fptools/ghc/compiler/main/DriverFlags.hs
1.159 +1 -5 fptools/ghc/compiler/main/DriverPipeline.hs
1.97 +1 -169 fptools/ghc/compiler/main/DriverState.hs
1.133 +4 -10 fptools/ghc/compiler/main/Main.hs
1.176 +14 -12 fptools/ghc/compiler/main/MkIface.lhs
1.14 +25 -21 fptools/ghc/compiler/main/TidyPgm.lhs
1.124 +9 -5 fptools/ghc/compiler/parser/Parser.y
1.117 +3 -2 fptools/ghc/compiler/rename/RnExpr.lhs
1.85 +16 -8 fptools/ghc/compiler/rename/RnHiFiles.lhs
1.164 +4 -4 fptools/ghc/compiler/rename/RnIfaces.lhs
1.113 +4 -2 fptools/ghc/compiler/simplCore/SimplCore.lhs
1.91 +31 -25 fptools/ghc/compiler/simplCore/SimplUtils.lhs
1.89 +12 -2 fptools/ghc/compiler/typecheck/TcTyDecls.lhs
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc