[commit: ghc] wip/T10613: Be more explicit about closure types in ticky-ticky-report (c399939)
git at git.haskell.org
git at git.haskell.org
Tue Mar 29 12:04:54 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/T10613
Link : http://ghc.haskell.org/trac/ghc/changeset/c3999392419ec503b29c39bf609b2a767e2a6936/ghc
>---------------------------------------------------------------
commit c3999392419ec503b29c39bf609b2a767e2a6936
Author: Joachim Breitner <mail at joachim-breitner.de>
Date: Thu Mar 17 16:33:18 2016 +0100
Be more explicit about closure types in ticky-ticky-report
The report now distinguishes thunks (in the variants single-entry and
standard thunks), constructors and functions (possibly single-entry).
Forthermore, for standard thunks (AP and selector), do not count an
entry when they are allocated. It is not possible to count their
entries, as their code is shared, but better count nothing than count
the wrong thing.
>---------------------------------------------------------------
c3999392419ec503b29c39bf609b2a767e2a6936
compiler/codeGen/StgCmmBind.hs | 15 ++++++---
compiler/codeGen/StgCmmClosure.hs | 49 ++++++++++++++-------------
compiler/codeGen/StgCmmTicky.hs | 69 +++++++++++++++++++++++++++++----------
3 files changed, 88 insertions(+), 45 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 c3999392419ec503b29c39bf609b2a767e2a6936
More information about the ghc-commits
mailing list