From 60b86b04b2c214ef75b01371901a040933debf31 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Mon, 13 May 2013 22:39:29 +0100 Subject: Fix the GHC package DLL-splitting There's now an internal -dll-split flag, which we use to tell GHC how the GHC package is split into 2 separate DLLs. This is used by Packages.isDllName to determine whether a call is within the same DLL, or whether it is a call to another DLL. --- compiler/profiling/SCCfinal.lhs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/profiling') 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 -- cgit v1.2.1