Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
dab80474
Commit
dab80474
authored
Sep 10, 2008
by
rl@cse.unsw.edu.au
Browse files
-Odph implies -fno-spec-constr-count
parent
af37b300
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/main/DynFlags.hs
View file @
dab80474
...
...
@@ -1860,10 +1860,12 @@ setOptLevel n dflags
-- -fdicts-cheap always inline dictionaries
-- -fmax-simplifier-iterations20 this is necessary sometimes
-- -fno-spec-constr-threshold run SpecConstr even for big loops
-- -fno-spec-constr-count SpecConstr as much as possible
--
setDPHOpt
::
DynFlags
->
DynFlags
setDPHOpt
dflags
=
setOptLevel
2
(
dflags
{
maxSimplIterations
=
20
,
specConstrThreshold
=
Nothing
,
specConstrCount
=
Nothing
})
`
dopt_set
`
Opt_DictsCheap
`
dopt_unset
`
Opt_MethodSharing
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment