[commit: ghc] wip/T10613: Rough working implementation of #10613 (b3b95bc)
git at git.haskell.org
git at git.haskell.org
Wed Apr 27 15:33:57 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/T10613
Link : http://ghc.haskell.org/trac/ghc/changeset/b3b95bcdfa1e71fe4ea094e385d9b0adbcf23e26/ghc
>---------------------------------------------------------------
commit b3b95bcdfa1e71fe4ea094e385d9b0adbcf23e26
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.
>---------------------------------------------------------------
b3b95bcdfa1e71fe4ea094e385d9b0adbcf23e26
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 | 10 ++++-
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, 330 insertions(+), 89 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 b3b95bcdfa1e71fe4ea094e385d9b0adbcf23e26
More information about the ghc-commits
mailing list