summaryrefslogtreecommitdiff
path: root/compiler/nativeGen/RegAlloc/Graph
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2015-12-03 13:43:39 -0500
committerBen Gamari <ben@smart-cactus.org>2015-12-03 23:00:16 +0100
commit0dd61fe72144a829a9e5bb87a1094244e53cdebb (patch)
treecd4c9d41f19a76edf7d0f3a46438f8fdfd4fc1e5 /compiler/nativeGen/RegAlloc/Graph
parent7b29b0b1e8efac68fd4151cb5a44c4290a3e9d57 (diff)
downloadhaskell-0dd61fe72144a829a9e5bb87a1094244e53cdebb.tar.gz
Kill redundant patterns
George's new exhaustiveness checker now realizes these are impossible. Yay!
Diffstat (limited to 'compiler/nativeGen/RegAlloc/Graph')
-rw-r--r--compiler/nativeGen/RegAlloc/Graph/Main.hs3
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/nativeGen/RegAlloc/Graph/Main.hs b/compiler/nativeGen/RegAlloc/Graph/Main.hs
index 05db68dd46..8d5a4dbabd 100644
--- a/compiler/nativeGen/RegAlloc/Graph/Main.hs
+++ b/compiler/nativeGen/RegAlloc/Graph/Main.hs
@@ -355,9 +355,6 @@ graphAddCoalesce (r1, r2) graph
, RegReal _ <- r2
= graph
-graphAddCoalesce _ _
- = panic "graphAddCoalesce: bogus"
-
-- | Patch registers in code using the reg -> reg mapping in this graph.
patchRegsFromGraph