summaryrefslogtreecommitdiff
path: root/compiler/GHC/Core/Opt/CSE.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Core/Opt/CSE.hs')
-rw-r--r--compiler/GHC/Core/Opt/CSE.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/GHC/Core/Opt/CSE.hs b/compiler/GHC/Core/Opt/CSE.hs
index 4e5f511109..9855c41731 100644
--- a/compiler/GHC/Core/Opt/CSE.hs
+++ b/compiler/GHC/Core/Opt/CSE.hs
@@ -32,7 +32,7 @@ import GHC.Utils.Outputable
import GHC.Types.Basic
import GHC.Types.Tickish
import GHC.Core.Map.Expr
-import GHC.Utils.Misc ( filterOut, equalLength, debugIsOn )
+import GHC.Utils.Misc ( filterOut, equalLength )
import GHC.Utils.Panic
import Data.List ( mapAccumL )
@@ -693,7 +693,7 @@ combineAlts env alts
, Alt _ bndrs1 rhs1 <- alt1
, let filtered_alts = filterOut (identical_alt rhs1) rest_alts
, not (equalLength rest_alts filtered_alts)
- = ASSERT2( null bndrs1, ppr alts )
+ = assertPpr (null bndrs1) (ppr alts) $
Alt DEFAULT [] rhs1 : filtered_alts
| otherwise