[commit: ghc] wip/T13861: WIP: add some noise (c055266)

git at git.haskell.org git at git.haskell.org
Fri Dec 29 12:28:31 UTC 2017


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

On branch  : wip/T13861
Link       : http://ghc.haskell.org/trac/ghc/changeset/c0552668cc8e0c57c05702f51e5bd27bee07e2bc/ghc

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

commit c0552668cc8e0c57c05702f51e5bd27bee07e2bc
Author: Gabor Greif <ggreif at gmail.com>
Date:   Fri Dec 29 13:27:04 2017 +0100

    WIP: add some noise


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

c0552668cc8e0c57c05702f51e5bd27bee07e2bc
 compiler/simplStg/StgCse.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler/simplStg/StgCse.hs b/compiler/simplStg/StgCse.hs
index 6b805d7..6643454 100644
--- a/compiler/simplStg/StgCse.hs
+++ b/compiler/simplStg/StgCse.hs
@@ -425,7 +425,7 @@ mkStgCase scrut bndr ty alts | all isBndr alts = scrut
       , (binds@(_:_),rest) <- partition isBndr alts
       = pprTrace "mkStgCase" (ppr alts) $ Just (def:rest)
     grouped alts | (binds@(_:_:_),rest) <- partition isBndr alts
-                 = Just ((DEFAULT, [], StgApp bndr []) : rest)
+                 = pprTrace "mkStgCase#" (ppr alts) $ Just ((DEFAULT, [], StgApp bndr []) : rest)
     -- TODO: common constr applications: partition, sort, group
     grouped _ = Nothing
 



More information about the ghc-commits mailing list