X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fmain%2FBreakArray.hs;h=364a917371079a23a1dea080b4dbeed8696080ca;hb=6a05ec5ef5373f61b7f9f5bdc344483417fa801b;hp=dbae88a1129f6865e46cd8eac409e14a99a7dd7d;hpb=71f74505bed49cf595bc9df3d1ba050448793c92;p=ghc-hetmet.git diff --git a/compiler/main/BreakArray.hs b/compiler/main/BreakArray.hs index dbae88a..364a917 100644 --- a/compiler/main/BreakArray.hs +++ b/compiler/main/BreakArray.hs @@ -7,6 +7,13 @@ -- ----------------------------------------------------------------------------- +{-# 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 BreakArray ( BreakArray (BA) -- constructor is exported only for ByteCodeGen @@ -26,8 +33,8 @@ import Constants data BreakArray = BA (MutableByteArray# RealWorld) breakOff, breakOn :: Word -breakOn = fromIntegral 1 -breakOff = fromIntegral 0 +breakOn = 1 +breakOff = 0 -- XXX crude showBreakArray :: BreakArray -> IO ()