[commit: ghc] wip/T10613: Rough working implementation of #10613 (73a7c23)

git at git.haskell.org git at git.haskell.org
Fri Jun 17 08:36:36 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/T10613
Link       : http://ghc.haskell.org/trac/ghc/changeset/73a7c23d18ded774f5591c23f511699e35c43034/ghc

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

commit 73a7c23d18ded774f5591c23f511699e35c43034
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Thu Mar 17 16:33:18 2016 +0100

    Rough working implementation of #10613
    
    The COUNTING_IND closure type is based on the (since removed) IND_PERM.
    
    Some of the code is rather ad-hoc and likely in need of some refactoring
    and clean-up before entering master (if it ever should), but it should
    be good enough to play around with it and obtain some numbers.


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

73a7c23d18ded774f5591c23f511699e35c43034
 compiler/cmm/CLabel.hs               |  5 ++-
 compiler/cmm/CmmType.hs              |  6 +++
 compiler/cmm/SMRep.hs                | 11 +++++-
 compiler/codeGen/StgCmmBind.hs       | 76 +++++++++++++++++++++++++++---------
 compiler/codeGen/StgCmmClosure.hs    |  8 ++++
 compiler/codeGen/StgCmmHeap.hs       | 20 ++++++++--
 compiler/codeGen/StgCmmLayout.hs     | 23 ++++++++---
 compiler/codeGen/StgCmmTicky.hs      | 37 ++++++++++++++++--
 compiler/codeGen/StgCmmUtils.hs      | 12 +++---
 compiler/coreSyn/PprCore.hs          |  2 +-
 compiler/ghci/ByteCodeItbls.hs       |  4 +-
 includes/Cmm.h                       |  1 +
 includes/rts/Ticky.h                 |  9 ++++-
 includes/rts/storage/ClosureMacros.h |  1 +
 includes/rts/storage/ClosureTypes.h  | 73 +++++++++++++++++-----------------
 includes/rts/storage/Closures.h      |  7 ++++
 includes/stg/MiscClosures.h          |  1 +
 rts/CheckUnload.c                    |  1 +
 rts/ClosureFlags.c                   |  3 +-
 rts/Interpreter.c                    |  1 +
 rts/LdvProfile.c                     |  1 +
 rts/Printer.c                        |  7 ++++
 rts/ProfHeap.c                       |  1 +
 rts/RetainerProfile.c                |  6 +--
 rts/RtsSymbols.c                     |  1 +
 rts/Stable.c                         |  1 +
 rts/StgMiscClosures.cmm              | 43 ++++++++++++++++++++
 rts/Ticky.c                          | 21 +++++++---
 rts/sm/Compact.c                     |  1 +
 rts/sm/Evac.c                        |  8 ++++
 rts/sm/GCAux.c                       |  1 +
 rts/sm/Sanity.c                      |  1 +
 rts/sm/Scav.c                        | 12 ++++++
 utils/deriveConstants/Main.hs        |  7 ++++
 utils/genapply/Main.hs               |  4 +-
 35 files changed, 328 insertions(+), 88 deletions(-)

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

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 73a7c23d18ded774f5591c23f511699e35c43034


More information about the ghc-commits mailing list