1
0
forked from GitHub/gf-core

Make noexpand the default optimization package when configuring with -fcclazy

This commit is contained in:
hallgren
2011-09-09 13:50:38 +00:00
parent c2e7f89a0a
commit 6a5972e00d

View File

@@ -1,3 +1,4 @@
{-# LANGUAGE CPP #-}
module GF.Infra.Option
(
-- * Option types
@@ -268,7 +269,11 @@ defaultFlags = Flags {
optResName = Nothing,
optPreprocessors = [],
optEncoding = "latin1",
#ifdef CC_LAZY
optOptimizations = Set.fromList [OptStem,OptCSE],
#else
optOptimizations = Set.fromList [OptStem,OptCSE,OptExpand,OptParametrize],
#endif
optOptimizePGF = False,
optMkIndexPGF = False,
optCFGTransforms = Set.fromList [CFGRemoveCycles, CFGBottomUpFilter,