[commit: ghc] wip/libdw-unwind: StgCmmForeign: Push local register creation into code generation (13ffedd)
git at git.haskell.org
git at git.haskell.org
Mon Jan 4 22:20:02 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/libdw-unwind
Link : http://ghc.haskell.org/trac/ghc/changeset/13ffedd6f593777b234556425751ac79782be135/ghc
>---------------------------------------------------------------
commit 13ffedd6f593777b234556425751ac79782be135
Author: Ben Gamari <ben at smart-cactus.org>
Date: Sat Jan 2 13:31:04 2016 +0100
StgCmmForeign: Push local register creation into code generation
The interfaces to {save,load}ThreadState were quite messy due to the
need to pass in local registers (produced with draws from a unique
supply) since they were used from both FCode and UniqSM.
This, however, is entirely unnecessary as we already have an
abstraction to capture this effect: MonadUnique. Use it.
>---------------------------------------------------------------
13ffedd6f593777b234556425751ac79782be135
compiler/cmm/CmmLayoutStack.hs | 15 ++----
compiler/codeGen/StgCmmForeign.hs | 106 ++++++++++++++++++--------------------
compiler/codeGen/StgCmmMonad.hs | 6 +++
compiler/codeGen/StgCmmUtils.hs | 5 +-
4 files changed, 64 insertions(+), 68 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 13ffedd6f593777b234556425751ac79782be135
More information about the ghc-commits
mailing list