summaryrefslogtreecommitdiff
path: root/compiler/nativeGen/RegAlloc
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2012-07-16 12:53:31 +0100
committerIan Lynagh <igloo@earth.li>2012-07-16 12:53:31 +0100
commitd6c1311a30471eb252db321c6151214ad1eb1fbb (patch)
tree002a6de408e22ba77f9a3817ac84152316187c41 /compiler/nativeGen/RegAlloc
parent5f745f250afe96279dcef05edf66cfd07dbc8126 (diff)
downloadhaskell-d6c1311a30471eb252db321c6151214ad1eb1fbb.tar.gz
Fix a warning
Diffstat (limited to 'compiler/nativeGen/RegAlloc')
-rw-r--r--compiler/nativeGen/RegAlloc/Graph/SpillClean.hs8
1 files changed, 7 insertions, 1 deletions
diff --git a/compiler/nativeGen/RegAlloc/Graph/SpillClean.hs b/compiler/nativeGen/RegAlloc/Graph/SpillClean.hs
index ec58378255..64069ddec9 100644
--- a/compiler/nativeGen/RegAlloc/Graph/SpillClean.hs
+++ b/compiler/nativeGen/RegAlloc/Graph/SpillClean.hs
@@ -1,4 +1,3 @@
-{-# OPTIONS -fno-warn-missing-signatures #-}
-- | Clean out unneeded spill\/reload instrs
--
-- * Handling of join points
@@ -333,6 +332,13 @@ cleanBackward liveSlotsOnEntry noReloads acc lis
= do reloadedBy <- gets sReloadedBy
cleanBackward' liveSlotsOnEntry reloadedBy noReloads acc lis
+cleanBackward' :: Instruction instr
+ => Map BlockId (Set Int)
+ -> UniqFM [BlockId]
+ -> UniqSet Int
+ -> [LiveInstr instr]
+ -> [LiveInstr instr]
+ -> State CleanS [LiveInstr instr]
cleanBackward' _ _ _ acc []
= return acc