diff options
author | Ian Lynagh <igloo@earth.li> | 2007-09-01 11:21:30 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2007-09-01 11:21:30 +0000 |
commit | 17b297d97d327620ed6bfab942f8992b2446f1bf (patch) | |
tree | c84753f3bbbc9a1f0a262abfad5ddcf9d5b6271b /compiler/profiling | |
parent | e11fa7a5e0025460df3b8562ccbf3ffd1db68d5d (diff) | |
download | haskell-17b297d97d327620ed6bfab942f8992b2446f1bf.tar.gz |
Add {-# OPTIONS_GHC -w #-} and some blurb to all compiler modules
Diffstat (limited to 'compiler/profiling')
-rw-r--r-- | compiler/profiling/CostCentre.lhs | 7 | ||||
-rw-r--r-- | compiler/profiling/SCCfinal.lhs | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/compiler/profiling/CostCentre.lhs b/compiler/profiling/CostCentre.lhs index bc3a5d169d..38c5a82036 100644 --- a/compiler/profiling/CostCentre.lhs +++ b/compiler/profiling/CostCentre.lhs @@ -4,6 +4,13 @@ \section[CostCentre]{The @CostCentre@ data type} \begin{code} +{-# OPTIONS_GHC -w #-} +-- The above warning supression flag is a temporary kludge. +-- While working on this module you are encouraged to remove it and fix +-- any warnings in the module. See +-- http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings +-- for details + module CostCentre ( CostCentre(..), CcName, IsDupdCC(..), IsCafCC(..), -- All abstract except to friend: ParseIface.y diff --git a/compiler/profiling/SCCfinal.lhs b/compiler/profiling/SCCfinal.lhs index 256984ad91..e24eee123e 100644 --- a/compiler/profiling/SCCfinal.lhs +++ b/compiler/profiling/SCCfinal.lhs @@ -23,6 +23,13 @@ This is now a sort-of-normal STG-to-STG pass (WDP 94/06), run by stg2stg. * "Distributes" given cost-centres to all as-yet-unmarked RHSs. \begin{code} +{-# OPTIONS_GHC -w #-} +-- The above warning supression flag is a temporary kludge. +-- While working on this module you are encouraged to remove it and fix +-- any warnings in the module. See +-- http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings +-- for details + module SCCfinal ( stgMassageForProfiling ) where #include "HsVersions.h" |