[commit: ghc] master: Fix -split-objs with the new code generator (bd5354e)

Simon Marlow <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.ghc
Message-ID <[email protected]>
Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/bd5354e31c98c489d58ec686dd87d0d2d5e4d622

>---------------------------------------------------------------

commit bd5354e31c98c489d58ec686dd87d0d2d5e4d622
Author: Simon Marlow <[email protected]>
Date:   Tue Sep 4 13:57:26 2012 +0100

    Fix -split-objs with the new code generator
    
    We need to make the SRT label external and unique when splitting,
    because it is shared amongst all the functions in the module.  Also
    some SRT-related cleanup.

 compiler/cmm/CLabel.hs             |   22 ++++++++++++++++++++--
 compiler/cmm/CmmBuildInfoTables.hs |    9 ++++-----
 compiler/codeGen/StgCmm.hs         |    1 -
 compiler/codeGen/StgCmmEnv.hs      |    8 +++-----
 compiler/codeGen/StgCmmMonad.hs    |   25 +++----------------------
 compiler/main/HscMain.hs           |    4 +++-
 6 files changed, 33 insertions(+), 36 deletions(-)


Diff suppressed because of size. To see it, use:

    git show bd5354e31c98c489d58ec686dd87d0d2d5e4d622
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.