projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c592dce
)
[project @ 2005-02-04 15:42:54 by simonpj]
author
simonpj
<unknown>
Fri, 4 Feb 2005 15:42:54 +0000
(15:42 +0000)
committer
simonpj
<unknown>
Fri, 4 Feb 2005 15:42:54 +0000
(15:42 +0000)
Comments and type sig
ghc/compiler/main/CmdLineOpts.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/main/CmdLineOpts.lhs
b/ghc/compiler/main/CmdLineOpts.lhs
index
2d4b4e9
..
c1f8880
100644
(file)
--- a/
ghc/compiler/main/CmdLineOpts.lhs
+++ b/
ghc/compiler/main/CmdLineOpts.lhs
@@
-453,6
+453,8
@@
getVerbFlag dflags
-----------------------------------------------------------------------------
-- Setting the optimisation level
+updOptLevel :: Int -> DynFlags -> DynFlags
+-- Set dynflags appropriate to the optimisation level
updOptLevel n dfs
= if (n >= 1)
then dfs2{ hscTarget = HscC, optLevel = n } -- turn on -fvia-C with -O