[commit: ghc] master: Refactor inline array allocation (b684f27)
git at git.haskell.org
git at git.haskell.org
Tue Mar 11 20:31:05 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/b684f27ec7b3538ffd9401de70ef5685b8b71978/ghc
>---------------------------------------------------------------
commit b684f27ec7b3538ffd9401de70ef5685b8b71978
Author: Simon Marlow <marlowsd at gmail.com>
Date: Mon Mar 10 21:43:15 2014 +0000
Refactor inline array allocation
- Move array representation knowledge into SMRep
- Separate out low-level heap-object allocation so that we can reuse
it from doNewArrayOp
- remove card-table initialisation, we can safely ignore the card
table for newly allocated arrays.
>---------------------------------------------------------------
b684f27ec7b3538ffd9401de70ef5685b8b71978
compiler/cmm/SMRep.lhs | 65 ++++++++++++++++++++++++------
compiler/codeGen/StgCmmHeap.hs | 84 +++++++++++++++++++++------------------
compiler/codeGen/StgCmmPrim.hs | 75 +++++++++-------------------------
compiler/codeGen/StgCmmProf.hs | 2 +-
compiler/codeGen/StgCmmTicky.hs | 2 +-
5 files changed, 120 insertions(+), 108 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 b684f27ec7b3538ffd9401de70ef5685b8b71978
More information about the ghc-commits
mailing list