Skip to content

Commit

Permalink
initialise the headers of MSG_BLACKHOLE objects properly
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmar committed Apr 7, 2010
1 parent a0daca1 commit a7005b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rts/StgMiscClosures.cmm
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ retry:
("ptr" msg) = foreign "C" allocate(MyCapability() "ptr",
BYTES_TO_WDS(SIZEOF_MessageBlackHole)) [R1];

StgHeader_info(msg) = stg_MSG_BLACKHOLE_info;
SET_HDR(msg, stg_MSG_BLACKHOLE_info, CCS_SYSTEM);
MessageBlackHole_tso(msg) = CurrentTSO;
MessageBlackHole_bh(msg) = R1;

Expand Down

0 comments on commit a7005b6

Please sign in to comment.