[project @ 2005-02-04 15:42:54 by simonpj]
authorsimonpj <unknown>
Fri, 4 Feb 2005 15:42:54 +0000 (15:42 +0000)
committersimonpj <unknown>
Fri, 4 Feb 2005 15:42:54 +0000 (15:42 +0000)
Comments and type sig

ghc/compiler/main/CmdLineOpts.lhs

index 2d4b4e9..c1f8880 100644 (file)
@@ -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