summaryrefslogtreecommitdiff
path: root/compiler/nativeGen/RegSpillClean.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/nativeGen/RegSpillClean.hs')
-rw-r--r--compiler/nativeGen/RegSpillClean.hs9
1 files changed, 8 insertions, 1 deletions
diff --git a/compiler/nativeGen/RegSpillClean.hs b/compiler/nativeGen/RegSpillClean.hs
index df6686eeb7..7b6567124f 100644
--- a/compiler/nativeGen/RegSpillClean.hs
+++ b/compiler/nativeGen/RegSpillClean.hs
@@ -22,7 +22,14 @@
-- This also works if the reloads in B1/B2 were spills instead, because
-- spilling %r1 to a slot makes that slot have the same value as %r1.
--
---
+
+{-# OPTIONS_GHC -w #-}
+-- The above warning supression flag is a temporary kludge.
+-- While working on this module you are encouraged to remove it and fix
+-- any warnings in the module. See
+-- http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings
+-- for details
+
module RegSpillClean (
cleanSpills
)