diff options
author | Ian Lynagh <igloo@earth.li> | 2008-07-10 12:41:41 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2008-07-10 12:41:41 +0000 |
commit | a31cf953707dce54fc78bcffbd1773cc554dce8f (patch) | |
tree | 599687e437c701f2775f2f1fdc36faa108a8028a | |
parent | be745f257384dfedb81f154a961daaa709010ba1 (diff) | |
download | haskell-a31cf953707dce54fc78bcffbd1773cc554dce8f.tar.gz |
Move "main/BinIface_HC_OPTS += -O" into a pragma in iface/BinIface.hs
I assume that we still want this, despite it having been disconnected
when the module was moved.
-rw-r--r-- | compiler/Makefile | 1 | ||||
-rw-r--r-- | compiler/iface/BinIface.hs | 8 |
2 files changed, 6 insertions, 3 deletions
diff --git a/compiler/Makefile b/compiler/Makefile index a64cd12fe7..ea3e07b832 100644 --- a/compiler/Makefile +++ b/compiler/Makefile @@ -647,7 +647,6 @@ endif # We always optimise some low-level modules, otherwise performance of # a non-optimised compiler is severely affected. -main/BinIface_HC_OPTS += -O utils/Binary_HC_OPTS += -O -funbox-strict-fields utils/FastMutInt_HC_OPTS += -O utils/Encoding_HC_OPTS += -O diff --git a/compiler/iface/BinIface.hs b/compiler/iface/BinIface.hs index 58ae603d55..75e0d642fd 100644 --- a/compiler/iface/BinIface.hs +++ b/compiler/iface/BinIface.hs @@ -1,7 +1,11 @@ --- +{-# OPTIONS_GHC -O #-} +-- We always optimise this, otherwise performance of a non-optimised +-- compiler is severely affected + +-- -- (c) The University of Glasgow 2002-2006 --- +-- -- Binary interface file support. module BinIface ( writeBinIface, readBinIface, |