Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
f6baf3ba
Commit
f6baf3ba
authored
Mar 01, 2006
by
simonpj@microsoft.com
Browse files
Complete undo of Simplify-the-IdInfo-before-any-RHSs
parent
4ce722f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/simplCore/OccurAnal.lhs
View file @
f6baf3ba
...
...
@@ -319,14 +319,9 @@ reOrderRec env (CyclicSCC (bind : binds))
| inlineCandidate bndr rhs = 2 -- Likely to be inlined
-- NOT NEEDED ANY MORE [Feb06]
-- We make all rules available in all bindings, by substituting
-- the IdInfo before looking at any RHSs. I'm just leaving this
-- snippet in as a commment so we can find it again if necessary.
--
-- | not (isEmptySpecInfo (idSpecialisation bndr)) = 1
-- -- Avoid things with specialisations; we'd like
-- -- to take advantage of them in the subsequent bindings
| not (isEmptySpecInfo (idSpecialisation bndr)) = 1
-- Avoid things with specialisations; we'd like
-- to take advantage of them in the subsequent bindings
| otherwise = 0
...
...
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