diff options
author | Simon Marlow <marlowsd@gmail.com> | 2012-02-14 11:44:55 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2012-02-14 11:44:55 +0000 |
commit | b8172ba1e6b463fbacf21fc39474a1b5580c13a0 (patch) | |
tree | f197e7efcd8a3f3582971f1c86aad19eea774d0e /compiler/codeGen/StgCmmCon.hs | |
parent | 3a47819657f6b8542107d14cbd883d93f6fbf442 (diff) | |
download | haskell-b8172ba1e6b463fbacf21fc39474a1b5580c13a0.tar.gz |
Fix an SRT-related bug
We were using the SRT information generated by the computeSRTs pass to
decide whether to add a static link field to a constructor or not, and
this broke when I disabled computeSRTs for the new code generator. So
I've hacked it for now to only rely on the SRT information generated
by CoreToStg.
Diffstat (limited to 'compiler/codeGen/StgCmmCon.hs')
-rw-r--r-- | compiler/codeGen/StgCmmCon.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/codeGen/StgCmmCon.hs b/compiler/codeGen/StgCmmCon.hs index e17ac4fd32..1a40a4273f 100644 --- a/compiler/codeGen/StgCmmCon.hs +++ b/compiler/codeGen/StgCmmCon.hs @@ -92,6 +92,7 @@ cgTopRhsCon id con args info_tbl dontCareCCS -- Because it's static data caffy -- Has CAF refs + False -- no SRT payload -- BUILD THE OBJECT |