summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'compiler')
-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