Add LANGUAGE BangPatterns to modules that use them
authorsimonpj@microsoft.com <unknown>
Fri, 12 Nov 2010 17:20:49 +0000 (17:20 +0000)
committersimonpj@microsoft.com <unknown>
Fri, 12 Nov 2010 17:20:49 +0000 (17:20 +0000)
compiler/ghci/ByteCodeAsm.lhs
compiler/utils/Encoding.hs
compiler/utils/FastMutInt.lhs
compiler/utils/FastString.lhs

index 6f6e51d..dfc77e5 100644 (file)
@@ -6,6 +6,7 @@ ByteCodeLink: Bytecode assembler and linker
 
 \begin{code}
 {-# OPTIONS -optc-DNON_POSIX_SOURCE #-}
+{-# LANGUAGE BangPatterns #-}
 
 module ByteCodeAsm (
         assembleBCOs, assembleBCO,
index 336d9f0..84b4e09 100644 (file)
@@ -1,3 +1,4 @@
+{-# LANGUAGE BangPatterns #-}
 {-# OPTIONS_GHC -O #-}
 -- We always optimise this, otherwise performance of a non-optimised
 -- compiler is severely affected
index 6aa1c79..61e3e85 100644 (file)
@@ -1,4 +1,5 @@
 \begin{code}
+{-# LANGUAGE BangPatterns #-}
 {-# OPTIONS -cpp #-}
 {-# OPTIONS_GHC -O #-}
 -- We always optimise this, otherwise performance of a non-optimised
index a357f98..dafdf6a 100644 (file)
@@ -2,6 +2,7 @@
 % (c) The University of Glasgow, 1997-2006
 %
 \begin{code}
+{-# LANGUAGE BangPatterns #-}
 {-# OPTIONS -fno-warn-unused-imports #-}
 -- XXX GHC 6.9 seems to be confused by unpackCString# being used only in
 --     a RULE