summaryrefslogtreecommitdiff
path: root/compiler/GHC/CmmToAsm/Reg/Graph/Stats.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/CmmToAsm/Reg/Graph/Stats.hs')
-rw-r--r--compiler/GHC/CmmToAsm/Reg/Graph/Stats.hs6
1 files changed, 5 insertions, 1 deletions
diff --git a/compiler/GHC/CmmToAsm/Reg/Graph/Stats.hs b/compiler/GHC/CmmToAsm/Reg/Graph/Stats.hs
index 0bfba3dbc7..534c6f0bbb 100644
--- a/compiler/GHC/CmmToAsm/Reg/Graph/Stats.hs
+++ b/compiler/GHC/CmmToAsm/Reg/Graph/Stats.hs
@@ -1,4 +1,8 @@
{-# LANGUAGE BangPatterns, CPP, DeriveFunctor #-}
+{-# LANGUAGE MultiParamTypeClasses #-}
+{-# LANGUAGE FlexibleInstances #-}
+{-# LANGUAGE FlexibleContexts #-}
+
{-# OPTIONS_GHC -Wno-incomplete-uni-patterns #-}
@@ -113,7 +117,7 @@ data RegAllocStats statics instr
deriving (Functor)
-instance (OutputableP statics, OutputableP instr)
+instance (OutputableP Platform statics, OutputableP Platform instr)
=> Outputable (RegAllocStats statics instr) where
ppr (s@RegAllocStatsStart{})