From 0d792bea36420e657fb293d9f90f35d8ef96cb4f Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Thu, 10 Jul 2008 12:48:27 +0000 Subject: Move some flags from the Makefile into module pragmas --- compiler/utils/FastMutInt.lhs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'compiler/utils/FastMutInt.lhs') 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, -- cgit v1.2.1