rts: Fix reference to srt_bitmap in ASSERT in RetainerProfile
authorBen Gamari <bgamari.foss@gmail.com>
Thu, 7 Jun 2018 17:31:26 +0000 (13:31 -0400)
committerBen Gamari <ben@smart-cactus.org>
Thu, 7 Jun 2018 22:06:30 +0000 (18:06 -0400)
Test Plan: Validate

Reviewers: erikd, simonmar

Reviewed By: simonmar

Subscribers: rwbarton, thomie, carter

Differential Revision: https://phabricator.haskell.org/D4798

rts/RetainerProfile.c

index b7c85e6..6a0af21 100644 (file)
@@ -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: