[commit: ghc] master: DynFlags: Drop stale comment (76f3142)

git at git.haskell.org git at git.haskell.org
Tue Nov 24 15:56:44 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/76f3142d6f712355c419dd78f3fffff01c15e85d/ghc

>---------------------------------------------------------------

commit 76f3142d6f712355c419dd78f3fffff01c15e85d
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Tue Nov 24 16:55:48 2015 +0100

    DynFlags: Drop stale comment


>---------------------------------------------------------------

76f3142d6f712355c419dd78f3fffff01c15e85d
 compiler/main/DynFlags.hs | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs
index 39fb81a..e005be2 100644
--- a/compiler/main/DynFlags.hs
+++ b/compiler/main/DynFlags.hs
@@ -3538,10 +3538,9 @@ glasgowExtsFlags = [
            , Opt_UnicodeSyntax
            , Opt_UnliftedFFITypes ]
 
--- Consult the RTS to find whether GHC itself has been built profiled
--- If so, you can't use Template Haskell
 foreign import ccall unsafe "rts_isProfiled" rtsIsProfiledIO :: IO CInt
 
+-- | Was the runtime system built with profiling enabled?
 rtsIsProfiled :: Bool
 rtsIsProfiled = unsafeDupablePerformIO rtsIsProfiledIO /= 0
 



More information about the ghc-commits mailing list