From 838cb53a80cf468df68975c613fa275338d8d355 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Thu, 7 Jun 2018 13:31:26 -0400 Subject: 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 --- rts/RetainerProfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rts') 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: -- cgit v1.2.1