diff options
author | Ryan Scott <ryan.gl.scott@gmail.com> | 2016-05-24 09:22:04 -0400 |
---|---|---|
committer | Ryan Scott <ryan.gl.scott@gmail.com> | 2016-05-24 09:22:04 -0400 |
commit | 95dfdceb8b4dcc54a366949577d9ee389bad5bc3 (patch) | |
tree | 02f300a1867a6129f296a66d1e0cb8aefdfde529 /compiler/profiling | |
parent | 9d06ef1ae451a145607301dc7556931b537a7d83 (diff) | |
download | haskell-95dfdceb8b4dcc54a366949577d9ee389bad5bc3.tar.gz |
Remove 'deriving Typeable' statements
Summary:
Deriving `Typeable` has been a no-op since GHC 7.10, and now that we
require 7.10+ to build GHC, we can remove all the redundant `deriving Typeable`
statements in GHC.
Test Plan: ./validate
Reviewers: goldfire, austin, hvr, bgamari
Reviewed By: austin, hvr, bgamari
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D2260
Diffstat (limited to 'compiler/profiling')
-rw-r--r-- | compiler/profiling/CostCentre.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/profiling/CostCentre.hs b/compiler/profiling/CostCentre.hs index 03cde88786..4dd54dcc6c 100644 --- a/compiler/profiling/CostCentre.hs +++ b/compiler/profiling/CostCentre.hs @@ -60,12 +60,12 @@ data CostCentre cc_mod :: Module, -- Name of module defining this CC. cc_loc :: SrcSpan } - deriving (Data, Typeable) + deriving Data type CcName = FastString data IsCafCC = NotCafCC | CafCC - deriving (Eq, Ord, Data, Typeable) + deriving (Eq, Ord, Data) instance Eq CostCentre where |