diff options
author | Ian Lynagh <igloo@earth.li> | 2008-07-10 14:07:57 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2008-07-10 14:07:57 +0000 |
commit | d7b3ad9be373e02ea8b679d978f6ca898436892d (patch) | |
tree | 9e183f355459260fc36e817fed1fe870592d67fc /compiler/parser | |
parent | 3b3fee836284d09422562e1df88febcfb3200eb9 (diff) | |
download | haskell-d7b3ad9be373e02ea8b679d978f6ca898436892d.tar.gz |
Move more flags from the Makefile into pragmas
Diffstat (limited to 'compiler/parser')
-rw-r--r-- | compiler/parser/Parser.y.pp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/compiler/parser/Parser.y.pp b/compiler/parser/Parser.y.pp index e4285ba9d6..d7971b4c52 100644 --- a/compiler/parser/Parser.y.pp +++ b/compiler/parser/Parser.y.pp @@ -8,6 +8,14 @@ -- --------------------------------------------------------------------------- { +{-# OPTIONS_GHC -O0 -fno-ignore-interface-pragmas #-} +{- +Careful optimisation of the parser: we don't want to throw everything +at it, because that takes too long and doesn't buy much, but we do want +to inline certain key external functions, so we instruct GHC not to +throw away inlinings as it would normally do in -O0 mode. +-} + {-# OPTIONS -w #-} -- The above warning supression flag is a temporary kludge. -- While working on this module you are encouraged to remove it and fix |