summaryrefslogtreecommitdiff
path: root/compiler/codeGen/StgCmmClosure.hs
diff options
context:
space:
mode:
authorÖmer Sinan Ağacan <omeragacan@gmail.com>2016-01-27 13:15:15 +0100
committerBen Gamari <ben@smart-cactus.org>2016-01-27 13:56:48 +0100
commit4faa1a63d0496fd511d2d139622dbf7ef2ce4655 (patch)
treea0877a6063443197c5425c506ed14354d9fe8060 /compiler/codeGen/StgCmmClosure.hs
parent45c6fbc5284f83e1253ff9f3b49fe54a76c20ba7 (diff)
downloadhaskell-4faa1a63d0496fd511d2d139622dbf7ef2ce4655.tar.gz
s/unLifted/unlifted for consistency
This was causing trouble as we had to remember when to use "unLifted" and when to use "unlifted". "unlifted" is used instead of "unLifted" as it's a single word. Reviewers: austin, hvr, goldfire, bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1852
Diffstat (limited to 'compiler/codeGen/StgCmmClosure.hs')
-rw-r--r--compiler/codeGen/StgCmmClosure.hs10
1 files changed, 5 insertions, 5 deletions
diff --git a/compiler/codeGen/StgCmmClosure.hs b/compiler/codeGen/StgCmmClosure.hs
index 97224c6660..dca026dccd 100644
--- a/compiler/codeGen/StgCmmClosure.hs
+++ b/compiler/codeGen/StgCmmClosure.hs
@@ -173,7 +173,7 @@ data LambdaFormInfo
-- because then we know the entry code will do
-- For a function, the entry code is the fast entry point
- | LFUnLifted -- A value of unboxed type;
+ | LFUnlifted -- A value of unboxed type;
-- always a value, needs evaluation
| LFLetNoEscape -- See LetNoEscape module for precise description
@@ -211,7 +211,7 @@ data StandardFormInfo
mkLFArgument :: Id -> LambdaFormInfo
mkLFArgument id
- | isUnLiftedType ty = LFUnLifted
+ | isUnliftedType ty = LFUnlifted
| might_be_a_function ty = LFUnknown True
| otherwise = LFUnknown False
where
@@ -234,7 +234,7 @@ mkLFReEntrant top fvs args arg_descr
-------------
mkLFThunk :: Type -> TopLevelFlag -> [Id] -> UpdateFlag -> LambdaFormInfo
mkLFThunk thunk_ty top fvs upd_flag
- = ASSERT( not (isUpdatable upd_flag) || not (isUnLiftedType thunk_ty) )
+ = ASSERT( not (isUpdatable upd_flag) || not (isUnliftedType thunk_ty) )
LFThunk top (null fvs)
(isUpdatable upd_flag)
NonStandardThunk
@@ -421,7 +421,7 @@ nodeMustPointToIt _ (LFCon _) = True
-- 27/11/92.
nodeMustPointToIt _ (LFUnknown _) = True
-nodeMustPointToIt _ LFUnLifted = False
+nodeMustPointToIt _ LFUnlifted = False
nodeMustPointToIt _ LFLetNoEscape = False
{- Note [GC recovery]
@@ -525,7 +525,7 @@ getCallMethod dflags name id (LFReEntrant _ arity _ _) n_args _v_args _cg_loc
| n_args < arity = SlowCall -- Not enough args
| otherwise = DirectEntry (enterIdLabel dflags name (idCafInfo id)) arity
-getCallMethod _ _name _ LFUnLifted n_args _v_args _cg_loc _self_loop_info
+getCallMethod _ _name _ LFUnlifted n_args _v_args _cg_loc _self_loop_info
= ASSERT( n_args == 0 ) ReturnIt
getCallMethod _ _name _ (LFCon _) n_args _v_args _cg_loc _self_loop_info