summaryrefslogtreecommitdiff
path: root/rts
diff options
context:
space:
mode:
authorÖmer Sinan Ağacan <omeragacan@gmail.com>2018-12-07 23:20:10 -0500
committerBen Gamari <ben@smart-cactus.org>2018-12-07 23:20:11 -0500
commit38edeea990b455fa8bf201bb9190a0719663bf76 (patch)
treea30233ee2523ed017f60f201249bdc757b1a7b59 /rts
parent665f8b0c778b3a5dac4696f81da0cea88b101ea9 (diff)
downloadhaskell-38edeea990b455fa8bf201bb9190a0719663bf76.tar.gz
Mark SRT_1/SRT_2 as CONSTR_1_0/CONSTR_2_0
Test Plan: Validated locally, but skipped perf tests as there's a framework-related error there. Reviewers: simonmar, bgamari, erikd Reviewed By: simonmar Subscribers: rwbarton, carter Differential Revision: https://phabricator.haskell.org/D5421
Diffstat (limited to 'rts')
-rw-r--r--rts/StgMiscClosures.cmm4
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/StgMiscClosures.cmm b/rts/StgMiscClosures.cmm
index c3a83dd059..fdd9f1565e 100644
--- a/rts/StgMiscClosures.cmm
+++ b/rts/StgMiscClosures.cmm
@@ -512,10 +512,10 @@ CLOSURE(stg_NO_TREC_closure,stg_NO_TREC);
See Note [SRTs] in compiler/cmm/CmmBuildInfoTable.hs
------------------------------------------------------------------------- */
-INFO_TABLE_CONSTR(stg_SRT_1, 1, 0, 0, CONSTR, "SRT_1", "SRT_1")
+INFO_TABLE_CONSTR(stg_SRT_1, 1, 0, 0, CONSTR_1_0, "SRT_1", "SRT_1")
{ foreign "C" barf("SRT_1 object (%p) entered!", R1) never returns; }
-INFO_TABLE_CONSTR(stg_SRT_2, 2, 0, 0, CONSTR, "SRT_2", "SRT_2")
+INFO_TABLE_CONSTR(stg_SRT_2, 2, 0, 0, CONSTR_2_0, "SRT_2", "SRT_2")
{ foreign "C" barf("SRT_2 object (%p) entered!", R1) never returns; }
INFO_TABLE_CONSTR(stg_SRT_3, 3, 0, 0, CONSTR, "SRT_3", "SRT_3")