diff options
author | Ömer Sinan Ağacan <omeragacan@gmail.com> | 2018-01-18 11:06:30 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-01-18 11:06:31 -0500 |
commit | 2a78cf773cb447ac91c4a23d7e921e091e499134 (patch) | |
tree | 7895eb78cf96ad42051786633fa21310629c65f0 /compiler/profiling/ProfInit.hs | |
parent | 33358113175a66f8bfecd13f979aa7508e667271 (diff) | |
download | haskell-2a78cf773cb447ac91c4a23d7e921e091e499134.tar.gz |
Remove unused extern cost centre collection
Reviewers: bgamari, simonmar
Reviewed By: simonmar
Subscribers: alexbiehl, rwbarton, thomie, carter
Differential Revision: https://phabricator.haskell.org/D4309
Diffstat (limited to 'compiler/profiling/ProfInit.hs')
-rw-r--r-- | compiler/profiling/ProfInit.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/profiling/ProfInit.hs b/compiler/profiling/ProfInit.hs index 557bdf0ea4..931299a655 100644 --- a/compiler/profiling/ProfInit.hs +++ b/compiler/profiling/ProfInit.hs @@ -23,7 +23,7 @@ import Module -- module; profilingInitCode :: Module -> CollectedCCs -> SDoc -profilingInitCode this_mod (local_CCs, ___extern_CCs, singleton_CCSs) +profilingInitCode this_mod (local_CCs, singleton_CCSs) = sdocWithDynFlags $ \dflags -> if not (gopt Opt_SccProfilingOn dflags) then empty |