summaryrefslogtreecommitdiff
path: root/rts/RetainerProfile.c
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2018-06-07 13:31:26 -0400
committerBen Gamari <ben@smart-cactus.org>2018-06-07 18:06:30 -0400
commit838cb53a80cf468df68975c613fa275338d8d355 (patch)
tree1418ad469e4e6d8137f793efdaec4a63d8801d44 /rts/RetainerProfile.c
parent3397396a385ef9f493cf1e20894e88d21dfec48d (diff)
downloadhaskell-838cb53a80cf468df68975c613fa275338d8d355.tar.gz
rts: Fix reference to srt_bitmap in ASSERT in RetainerProfile
Test Plan: Validate Reviewers: erikd, simonmar Reviewed By: simonmar Subscribers: rwbarton, thomie, carter Differential Revision: https://phabricator.haskell.org/D4798
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 b7c85e63cd..6a0af21823 100644
--- a/rts/RetainerProfile.c
+++ b/rts/RetainerProfile.c
@@ -535,7 +535,7 @@ push( StgClosure *c, retainer c_child_r, StgClosure **first_child )
// SRT only
case THUNK_STATIC:
- ASSERT(get_itbl(c)->srt_bitmap != 0);
+ ASSERT(get_itbl(c)->srt != 0);
case THUNK_0_1:
case THUNK_0_2:
thunk_srt_only: