summaryrefslogtreecommitdiff
path: root/compiler/codeGen
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/codeGen
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/codeGen')
-rw-r--r--compiler/codeGen/StgCmmProf.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/codeGen/StgCmmProf.hs b/compiler/codeGen/StgCmmProf.hs
index a91c4c0ed1..e5e1379877 100644
--- a/compiler/codeGen/StgCmmProf.hs
+++ b/compiler/codeGen/StgCmmProf.hs
@@ -209,7 +209,7 @@ ifProfilingL dflags xs
initCostCentres :: CollectedCCs -> FCode ()
-- Emit the declarations
-initCostCentres (local_CCs, ___extern_CCs, singleton_CCSs)
+initCostCentres (local_CCs, singleton_CCSs)
= do dflags <- getDynFlags
when (gopt Opt_SccProfilingOn dflags) $
do mapM_ emitCostCentreDecl local_CCs