summaryrefslogtreecommitdiff
path: root/compiler/utils/FastMutInt.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/FastMutInt.lhs
parenta31cf953707dce54fc78bcffbd1773cc554dce8f (diff)
downloadhaskell-0d792bea36420e657fb293d9f90f35d8ef96cb4f.tar.gz
Move some flags from the Makefile into module pragmas
Diffstat (limited to 'compiler/utils/FastMutInt.lhs')
-rw-r--r--compiler/utils/FastMutInt.lhs6
1 files changed, 5 insertions, 1 deletions
diff --git a/compiler/utils/FastMutInt.lhs b/compiler/utils/FastMutInt.lhs
index 00aba34bba..e8ea58c8db 100644
--- a/compiler/utils/FastMutInt.lhs
+++ b/compiler/utils/FastMutInt.lhs
@@ -1,10 +1,14 @@
+\begin{code}
{-# OPTIONS -cpp #-}
+{-# OPTIONS_GHC -O #-}
+-- We always optimise this, otherwise performance of a non-optimised
+-- compiler is severely affected
+
--
-- (c) The University of Glasgow 2002-2006
--
-- Unboxed mutable Ints
-\begin{code}
module FastMutInt(
FastMutInt, newFastMutInt,
readFastMutInt, writeFastMutInt,