[commit: ghc] wip/T13861: WIP: clean up some cruft (a0fdeba)

git at git.haskell.org git at git.haskell.org
Sat Dec 30 22:06:52 UTC 2017


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

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

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

commit a0fdeba207e457924a2b7204dd4f7db14d5e4364
Author: Gabor Greif <ggreif at gmail.com>
Date:   Sat Dec 30 23:06:36 2017 +0100

    WIP: clean up some cruft


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

a0fdeba207e457924a2b7204dd4f7db14d5e4364
 compiler/codeGen/StgCmmClosure.hs | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/compiler/codeGen/StgCmmClosure.hs b/compiler/codeGen/StgCmmClosure.hs
index cc148f8..8bcea14 100644
--- a/compiler/codeGen/StgCmmClosure.hs
+++ b/compiler/codeGen/StgCmmClosure.hs
@@ -1,5 +1,5 @@
-{-# LANGUAGE CPP, RecordWildCards, StandaloneDeriving #-}
-{-# OPTIONS_GHC -Wno-orphans #-}
+{-# LANGUAGE CPP, RecordWildCards #-}
+
 -----------------------------------------------------------------------------
 --
 -- Stg to C-- code generation:
@@ -223,13 +223,8 @@ data LambdaFormInfo
                         -- always a value, needs evaluation
 
   | LFLetNoEscape       -- See LetNoEscape module for precise description
- deriving Show
 
-deriving instance Show TopLevelFlag
-deriving instance Show OneShotInfo
-deriving instance Show ArgDescr
-deriving instance Show StandardFormInfo
-instance Show DataCon where show _ = "<DATACON>"
+
 -------------------------
 -- StandardFormInfo tells whether this thunk has one of
 -- a small number of standard forms



More information about the ghc-commits mailing list