summaryrefslogtreecommitdiff
path: root/compiler/profiling/ProfInit.hs
diff options
context:
space:
mode:
authorÖmer Sinan Ağacan <omeragacan@gmail.com>2018-01-18 11:06:30 -0500
committerBen Gamari <ben@smart-cactus.org>2018-01-18 11:06:31 -0500
commit2a78cf773cb447ac91c4a23d7e921e091e499134 (patch)
tree7895eb78cf96ad42051786633fa21310629c65f0 /compiler/profiling/ProfInit.hs
parent33358113175a66f8bfecd13f979aa7508e667271 (diff)
downloadhaskell-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.hs2
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