diff options
author | simonpj@microsoft.com <unknown> | 2010-11-12 17:20:49 +0000 |
---|---|---|
committer | simonpj@microsoft.com <unknown> | 2010-11-12 17:20:49 +0000 |
commit | 4db9ea9ec8b4ae0db74259bb87319643de1fd469 (patch) | |
tree | 2c4056ac3fe91e2ebfd74d9124d571d34792eee3 /compiler | |
parent | 64557b454b1a184ef9ee177806a05b75c79c0eb6 (diff) | |
download | haskell-4db9ea9ec8b4ae0db74259bb87319643de1fd469.tar.gz |
Add LANGUAGE BangPatterns to modules that use them
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/ghci/ByteCodeAsm.lhs | 1 | ||||
-rw-r--r-- | compiler/utils/Encoding.hs | 1 | ||||
-rw-r--r-- | compiler/utils/FastMutInt.lhs | 1 | ||||
-rw-r--r-- | compiler/utils/FastString.lhs | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/compiler/ghci/ByteCodeAsm.lhs b/compiler/ghci/ByteCodeAsm.lhs index 6f6e51d0f5..dfc77e51b2 100644 --- a/compiler/ghci/ByteCodeAsm.lhs +++ b/compiler/ghci/ByteCodeAsm.lhs @@ -6,6 +6,7 @@ ByteCodeLink: Bytecode assembler and linker \begin{code} {-# OPTIONS -optc-DNON_POSIX_SOURCE #-} +{-# LANGUAGE BangPatterns #-} module ByteCodeAsm ( assembleBCOs, assembleBCO, diff --git a/compiler/utils/Encoding.hs b/compiler/utils/Encoding.hs index 336d9f0474..84b4e092f1 100644 --- a/compiler/utils/Encoding.hs +++ b/compiler/utils/Encoding.hs @@ -1,3 +1,4 @@ +{-# LANGUAGE BangPatterns #-} {-# OPTIONS_GHC -O #-} -- We always optimise this, otherwise performance of a non-optimised -- compiler is severely affected diff --git a/compiler/utils/FastMutInt.lhs b/compiler/utils/FastMutInt.lhs index 6aa1c798cf..61e3e853ec 100644 --- a/compiler/utils/FastMutInt.lhs +++ b/compiler/utils/FastMutInt.lhs @@ -1,4 +1,5 @@ \begin{code} +{-# LANGUAGE BangPatterns #-} {-# OPTIONS -cpp #-} {-# OPTIONS_GHC -O #-} -- We always optimise this, otherwise performance of a non-optimised diff --git a/compiler/utils/FastString.lhs b/compiler/utils/FastString.lhs index a357f9853f..dafdf6a837 100644 --- a/compiler/utils/FastString.lhs +++ b/compiler/utils/FastString.lhs @@ -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 |