Use OPTIONS rather than OPTIONS_GHC for pragmas
[ghc-hetmet.git] / compiler / cmm / MachOp.hs
index 5bbff6d..67981d6 100644 (file)
@@ -1,11 +1,18 @@
 -----------------------------------------------------------------------------
 --
--- (c) The University of Glasgow 2002-2004
+-- (c) The University of Glasgow 2002-2006
 --
 -- Low-level machine operations, used in the Cmm datatype.
 --
 -----------------------------------------------------------------------------
 
+{-# 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/CodingStyle#Warnings
+-- for details
+
 module MachOp  ( 
        MachRep(..), 
        machRepBitWidth,
@@ -385,6 +392,7 @@ data CallishMachOp
   | MO_F32_Log
   | MO_F32_Exp
   | MO_F32_Sqrt
+  | MO_WriteBarrier
   deriving (Eq, Show)
 
 pprCallishMachOp :: CallishMachOp -> SDoc