summaryrefslogtreecommitdiff
path: root/compiler/utils/StringBuffer.lhs
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-07-10 12:48:27 +0000
committerIan Lynagh <igloo@earth.li>2008-07-10 12:48:27 +0000
commit0d792bea36420e657fb293d9f90f35d8ef96cb4f (patch)
tree5dcf00f71343dd76e6f7735e35651858f7d9c3ed /compiler/utils/StringBuffer.lhs
parenta31cf953707dce54fc78bcffbd1773cc554dce8f (diff)
downloadhaskell-0d792bea36420e657fb293d9f90f35d8ef96cb4f.tar.gz
Move some flags from the Makefile into module pragmas
Diffstat (limited to 'compiler/utils/StringBuffer.lhs')
-rw-r--r--compiler/utils/StringBuffer.lhs4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/utils/StringBuffer.lhs b/compiler/utils/StringBuffer.lhs
index d51c800fca..3b2a3df2c8 100644
--- a/compiler/utils/StringBuffer.lhs
+++ b/compiler/utils/StringBuffer.lhs
@@ -6,6 +6,10 @@
Buffers for scanning string input stored in external arrays.
\begin{code}
+{-# OPTIONS_GHC -O -funbox-strict-fields #-}
+-- We always optimise this, otherwise performance of a non-optimised
+-- compiler is severely affected
+
module StringBuffer
(
StringBuffer(..),