diff options
author | Ian Lynagh <ian@well-typed.com> | 2012-10-16 15:28:26 +0100 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2012-10-16 16:08:38 +0100 |
commit | cd33eefd0467ae7ee4d22f16fcaaccfd33f18cb5 (patch) | |
tree | 30fb18578f1c5c81fef7ccc6ec5879a41fd4e5c0 /compiler/codeGen/StgCmmCon.hs | |
parent | 6759e5a482d927870c90efe97b820d492785a6fd (diff) | |
download | haskell-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/codeGen/StgCmmCon.hs')
-rw-r--r-- | compiler/codeGen/StgCmmCon.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/codeGen/StgCmmCon.hs b/compiler/codeGen/StgCmmCon.hs index 8e775dec51..ddc6d91d80 100644 --- a/compiler/codeGen/StgCmmCon.hs +++ b/compiler/codeGen/StgCmmCon.hs @@ -181,7 +181,7 @@ because they don't support cross package data references well. buildDynCon' dflags platform binder _cc con [arg] | maybeIntLikeCon con - , platformOS platform /= OSMinGW32 || not (dopt Opt_PIC dflags) + , platformOS platform /= OSMinGW32 || not (gopt Opt_PIC dflags) , StgLitArg (MachInt val) <- arg , val <= fromIntegral (mAX_INTLIKE dflags) -- Comparisons at type Integer! , val >= fromIntegral (mIN_INTLIKE dflags) -- ...ditto... @@ -195,7 +195,7 @@ buildDynCon' dflags platform binder _cc con [arg] buildDynCon' dflags platform binder _cc con [arg] | maybeCharLikeCon con - , platformOS platform /= OSMinGW32 || not (dopt Opt_PIC dflags) + , platformOS platform /= OSMinGW32 || not (gopt Opt_PIC dflags) , StgLitArg (MachChar val) <- arg , let val_int = ord val :: Int , val_int <= mAX_CHARLIKE dflags |