[commit: ghc] master: unreg: handle CmmStack in C codegen (unbreaks '-g') (e0071c3)

git at git.haskell.org git at git.haskell.org
Fri Oct 30 23:09:43 UTC 2015


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

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

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

commit e0071c3a3063380b0136ffc5bff503a42485c94f
Author: Sergei Trofimovich <siarheit at google.com>
Date:   Fri Oct 30 21:36:04 2015 +0000

    unreg: handle CmmStack in C codegen (unbreaks '-g')
    
    The patch makes
        $ make test TEST="debug T10667"
    not to fail on CmmStack code generation phase
    
    Signed-off-by: Sergei Trofimovich <siarheit at google.com>


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

e0071c3a3063380b0136ffc5bff503a42485c94f
 compiler/cmm/PprC.hs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/compiler/cmm/PprC.hs b/compiler/cmm/PprC.hs
index 76659ca..365aa59 100644
--- a/compiler/cmm/PprC.hs
+++ b/compiler/cmm/PprC.hs
@@ -180,6 +180,7 @@ pprStmt stmt =
                           -- large.
 
     CmmTick _ -> empty
+    CmmUnwind{} -> empty
 
     CmmAssign dest src -> pprAssign dflags dest src
 



More information about the ghc-commits mailing list