summaryrefslogtreecommitdiff
path: root/compiler/simplStg
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2012-10-16 15:28:26 +0100
committerIan Lynagh <ian@well-typed.com>2012-10-16 16:08:38 +0100
commitcd33eefd0467ae7ee4d22f16fcaaccfd33f18cb5 (patch)
tree30fb18578f1c5c81fef7ccc6ec5879a41fd4e5c0 /compiler/simplStg
parent6759e5a482d927870c90efe97b820d492785a6fd (diff)
downloadhaskell-cd33eefd0467ae7ee4d22f16fcaaccfd33f18cb5.tar.gz
Some alpha renaming
Mostly d -> g (matching DynFlag -> GeneralFlag). Also renamed if* to when*, matching the Haskell if/when names
Diffstat (limited to 'compiler/simplStg')
-rw-r--r--compiler/simplStg/SimplStg.lhs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/simplStg/SimplStg.lhs b/compiler/simplStg/SimplStg.lhs
index dbf6cb7a66..caf00a238f 100644
--- a/compiler/simplStg/SimplStg.lhs
+++ b/compiler/simplStg/SimplStg.lhs
@@ -16,7 +16,7 @@ import StgLint ( lintStgBindings )
import StgStats ( showStgStats )
import UnariseStg ( unarise )
-import DynFlags ( DynFlags(..), GeneralFlag(..), dopt, StgToDo(..),
+import DynFlags ( DynFlags(..), GeneralFlag(..), gopt, StgToDo(..),
getStgToDo )
import Module ( Module )
import ErrUtils
@@ -56,7 +56,7 @@ stg2stg dflags module_name binds
}
where
- stg_linter = if dopt Opt_DoStgLinting dflags
+ stg_linter = if gopt Opt_DoStgLinting dflags
then lintStgBindings
else ( \ _whodunnit binds -> binds )