Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
eaa4cb42
Commit
eaa4cb42
authored
Mar 17, 2005
by
simonpj
Browse files
[project @ 2005-03-17 10:09:24 by simonpj]
Comments
parent
9cbbb552
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/simplCore/SimplCore.lhs
View file @
eaa4cb42
...
...
@@ -635,8 +635,8 @@ shortOutIndirections binds
| otherwise = [Rec (flattenBinds binds')] -- See Note [Rules and indirect-zapping]
where
ind_env = makeIndEnv binds
exp_ids = varSetElems ind_env
exp_id_set = mkVarSet exp_ids
exp_ids = varSetElems ind_env
-- These exported Ids are the subjects
exp_id_set = mkVarSet exp_ids
-- of the indirection-elimination
no_need_to_flatten = all (null . rulesRules . idSpecialisation) exp_ids
binds' = concatMap zap binds
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment