diff options
author | simonpj@microsoft.com <unknown> | 2010-11-12 17:44:39 +0000 |
---|---|---|
committer | simonpj@microsoft.com <unknown> | 2010-11-12 17:44:39 +0000 |
commit | 5289f5d85610f71625a439747a09384876655eb5 (patch) | |
tree | 5f155dd7321db2358b42aaa595142e5a92039770 /compiler/utils | |
parent | 4db9ea9ec8b4ae0db74259bb87319643de1fd469 (diff) | |
download | haskell-5289f5d85610f71625a439747a09384876655eb5.tar.gz |
More modules that need LANGUAGE BangPatterns
Diffstat (limited to 'compiler/utils')
-rw-r--r-- | compiler/utils/Pretty.lhs | 1 | ||||
-rw-r--r-- | compiler/utils/StringBuffer.lhs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/compiler/utils/Pretty.lhs b/compiler/utils/Pretty.lhs index 3c003987af..317022d669 100644 --- a/compiler/utils/Pretty.lhs +++ b/compiler/utils/Pretty.lhs @@ -152,6 +152,7 @@ Relative to John's original paper, there are the following new features: \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 diff --git a/compiler/utils/StringBuffer.lhs b/compiler/utils/StringBuffer.lhs index 869cb8ac84..5d1bfa6086 100644 --- a/compiler/utils/StringBuffer.lhs +++ b/compiler/utils/StringBuffer.lhs @@ -6,6 +6,7 @@ Buffers for scanning string input stored in external arrays. \begin{code} +{-# LANGUAGE BangPatterns #-} {-# OPTIONS_GHC -O -funbox-strict-fields #-} -- We always optimise this, otherwise performance of a non-optimised -- compiler is severely affected |