summaryrefslogtreecommitdiff
path: root/compiler/profiling/SCCfinal.lhs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/profiling/SCCfinal.lhs')
-rw-r--r--compiler/profiling/SCCfinal.lhs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/profiling/SCCfinal.lhs b/compiler/profiling/SCCfinal.lhs
index 77e2cb78c0..5417ad491e 100644
--- a/compiler/profiling/SCCfinal.lhs
+++ b/compiler/profiling/SCCfinal.lhs
@@ -91,7 +91,7 @@ stgMassageForProfiling dflags mod_name _us stg_binds
do_top_rhs _ (StgRhsClosure _ _ _ _ _ []
(StgSCC _cc False{-not tick-} _push (StgConApp con args)))
- | not (isDllConApp dflags con args)
+ | not (isDllConApp dflags mod_name con args)
-- Trivial _scc_ around nothing but static data
-- Eliminate _scc_ ... and turn into StgRhsCon