[commit: ghc] master: Represent offsets into heap objects with byte, not word, offsets (a70e7b4)

git at git.haskell.org git at git.haskell.org
Tue Mar 11 20:30:57 UTC 2014


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/a70e7b4762c75812254f7781bcd48139c4ec40dd/ghc

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

commit a70e7b4762c75812254f7781bcd48139c4ec40dd
Author: Simon Marlow <marlowsd at gmail.com>
Date:   Fri Nov 29 10:32:26 2013 +0000

    Represent offsets into heap objects with byte, not word, offsets
    
    I'd like to be able to pack together non-pointer fields that are less
    than a word in size, and this is a necessary prerequisite.


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

a70e7b4762c75812254f7781bcd48139c4ec40dd
 compiler/cmm/CmmUtils.hs         |    9 +++++----
 compiler/cmm/SMRep.lhs           |   16 ++++++++++++---
 compiler/codeGen/StgCmmBind.hs   |   13 ++++++------
 compiler/codeGen/StgCmmCon.hs    |    1 +
 compiler/codeGen/StgCmmHeap.hs   |    9 ++++-----
 compiler/codeGen/StgCmmLayout.hs |   41 +++++++++++++++++++++++---------------
 compiler/codeGen/StgCmmUtils.hs  |    5 +++--
 7 files changed, 58 insertions(+), 36 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 a70e7b4762c75812254f7781bcd48139c4ec40dd


More information about the ghc-commits mailing list