[commit: ghc] newcg: Lower safe foreign calls in the new CmmLayoutStack (93e42a6)
Simon Marlow
marlowsd at gmail.com
Tue Mar 6 14:29:13 CET 2012
Repository : ssh://darcs.haskell.org//srv/darcs/ghc
On branch : newcg
http://hackage.haskell.org/trac/ghc/changeset/93e42a6895d2172f40d37fd13cb7405243dc4d0f
>---------------------------------------------------------------
commit 93e42a6895d2172f40d37fd13cb7405243dc4d0f
Author: Simon Marlow <marlowsd at gmail.com>
Date: Tue Mar 6 12:24:40 2012 +0000
Lower safe foreign calls in the new CmmLayoutStack
We also generate much better code for safe foreign calls (and maybe
also unsafe foreign calls) than previously. See the two new Notes:
Note [lower safe foreign calls]
Note [safe foreign call convention]
compiler/cmm/CmmBuildInfoTables.hs | 89 --------------
compiler/cmm/CmmLayoutStack.hs | 233 ++++++++++++++++++++++++++++++------
compiler/cmm/MkGraph.hs | 15 +--
compiler/codeGen/StgCmmEnv.hs | 3 +-
compiler/codeGen/StgCmmForeign.hs | 111 ++++++++++++++++--
compiler/codeGen/StgCmmLayout.hs | 142 ++++++++++++----------
compiler/codeGen/StgCmmMonad.hs | 15 ++-
compiler/codeGen/StgCmmPrim.hs | 9 +-
8 files changed, 389 insertions(+), 228 deletions(-)
Diff suppressed because of size. To see it, use:
git show 93e42a6895d2172f40d37fd13cb7405243dc4d0f
More information about the Cvs-ghc
mailing list