Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : newcg
http://hackage.haskell.org/trac/ghc/changeset/b8172ba1e6b463fbacf21fc39474a1b5580c13a0 >--------------------------------------------------------------- commit b8172ba1e6b463fbacf21fc39474a1b5580c13a0 Author: Simon Marlow <[email protected]> Date: Tue Feb 14 11:44:55 2012 +0000 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. compiler/codeGen/StgCmmBind.hs | 30 ++++++++++++---------------- compiler/codeGen/StgCmmClosure.hs | 29 +++++++++++++++------------ compiler/codeGen/StgCmmCon.hs | 1 + compiler/codeGen/StgCmmForeign.hs | 14 +++--------- compiler/codeGen/StgCmmHeap.hs | 9 +++++-- compiler/codeGen/StgCmmUtils.hs | 38 +++++++----------------------------- 6 files changed, 48 insertions(+), 73 deletions(-) Diff suppressed because of size. To see it, use: git show b8172ba1e6b463fbacf21fc39474a1b5580c13a0 _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
