Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tobias Decking
GHC
Commits
75e81ca4
Commit
75e81ca4
authored
Mar 01, 2001
by
simonpj
Browse files
[project @ 2001-03-01 17:09:54 by simonpj]
Add comments
parent
76258fba
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/specialise/SpecConstr.lhs
View file @
75e81ca4
...
...
@@ -202,9 +202,14 @@ emptyScEnv = emptyVarEnv
data HowBound = RecFun -- These are the recursive functions for which
-- we seek interesting call patterns
| RecArg -- These are those functions' arguments; we are
-- interested to see if those arguments are scrutinised
| Other -- We track all others so we know what's in scope
-- This is used in spec_one to check what needs to be
-- passed as a parameter and what is in scope at the
-- function definition site
extendBndrs env bndrs = extendVarEnvList env [(b,Other) | b <- bndrs]
extendBndr env bndr = extendVarEnv env bndr Other
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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