diff options
Diffstat (limited to 'libraries/ghc-heap/GHC/Exts/Heap/ProfInfo/Types.hs')
-rw-r--r-- | libraries/ghc-heap/GHC/Exts/Heap/ProfInfo/Types.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/ghc-heap/GHC/Exts/Heap/ProfInfo/Types.hs b/libraries/ghc-heap/GHC/Exts/Heap/ProfInfo/Types.hs index 5ff030d923..ced6c5ef46 100644 --- a/libraries/ghc-heap/GHC/Exts/Heap/ProfInfo/Types.hs +++ b/libraries/ghc-heap/GHC/Exts/Heap/ProfInfo/Types.hs @@ -9,7 +9,7 @@ import GHC.Generics -- | This is a somewhat faithful representation of StgTSOProfInfo. See -- <https://gitlab.haskell.org/ghc/ghc/blob/master/rts/include/rts/storage/TSO.h> -- for more details on this data structure. -data StgTSOProfInfo = StgTSOProfInfo { +newtype StgTSOProfInfo = StgTSOProfInfo { cccs :: Maybe CostCentreStack } deriving (Show, Generic, Eq, Ord) |