summaryrefslogtreecommitdiff
path: root/rts/RetainerProfile.c
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2019-07-16 13:39:57 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-02-17 11:21:10 -0500
commiteecdb0531d98d59d5734828356e65f0d4b9b2977 (patch)
tree553f70bfe8e102143f62e1aa246792a0d147bcfc /rts/RetainerProfile.c
parent7bca0e545998f737c6f6eff08b2c2c38d7558976 (diff)
downloadhaskell-eecdb0531d98d59d5734828356e65f0d4b9b2977.tar.gz
rts: TraverseHeap: Simplify profiling header
Having a union in the closure profiling header really just complicates things so get back to basics, we just have a single StgWord there for now.
Diffstat (limited to 'rts/RetainerProfile.c')
-rw-r--r--rts/RetainerProfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/RetainerProfile.c b/rts/RetainerProfile.c
index b89519b05d..a996e8d2e2 100644
--- a/rts/RetainerProfile.c
+++ b/rts/RetainerProfile.c
@@ -251,7 +251,7 @@ associate( StgClosure *c, RetainerSet *s )
{
// StgWord has the same size as pointers, so the following type
// casting is okay.
- RSET(c) = (RetainerSet *)((StgWord)s | flip);
+ RSET(c) = ((StgWord)s | flip);
}
static bool