summaryrefslogtreecommitdiff
path: root/compiler/nativeGen/MachCodeGen.hs
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2007-09-21 16:35:52 +0000
committerIan Lynagh <igloo@earth.li>2007-09-21 16:35:52 +0000
commit982c1f494de8a691294a95aee108e765c3f592a0 (patch)
tree2ed3239600e55fe707e7408e2fa108413db2c797 /compiler/nativeGen/MachCodeGen.hs
parentfee569a69a4ce8c8d05b8a1fb8069d804dbd2b9c (diff)
downloadhaskell-982c1f494de8a691294a95aee108e765c3f592a0.tar.gz
Move OPTIONS pragmas above comments
Fixes building with -Werror (i.e. validate) and GHC < 6.6
Diffstat (limited to 'compiler/nativeGen/MachCodeGen.hs')
-rw-r--r--compiler/nativeGen/MachCodeGen.hs14
1 files changed, 7 insertions, 7 deletions
diff --git a/compiler/nativeGen/MachCodeGen.hs b/compiler/nativeGen/MachCodeGen.hs
index 081d3ef6c7..7108c480bf 100644
--- a/compiler/nativeGen/MachCodeGen.hs
+++ b/compiler/nativeGen/MachCodeGen.hs
@@ -1,3 +1,10 @@
+{-# OPTIONS -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/Commentary/CodingStyle#Warnings
+-- for details
+
-----------------------------------------------------------------------------
--
-- Generating machine code (instruction selection)
@@ -11,13 +18,6 @@
-- (c) the #if blah_TARGET_ARCH} things, the
-- structure should not be too overwhelming.
-{-# OPTIONS -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/Commentary/CodingStyle#Warnings
--- for details
-
module MachCodeGen ( cmmTopCodeGen, InstrBlock ) where
#include "HsVersions.h"