Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
4,322
Issues
4,322
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
366
Merge Requests
366
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
a13fda71
Commit
a13fda71
authored
Aug 03, 2016
by
Matthew Pickering
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify comment on makeCorePair
parent
7a8ef019
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
compiler/deSugar/DsBinds.hs
compiler/deSugar/DsBinds.hs
+6
-3
No files found.
compiler/deSugar/DsBinds.hs
View file @
a13fda71
...
...
@@ -349,9 +349,12 @@ dsHsBind _ (PatSynBind{}) = panic "dsHsBind: PatSynBind"
-- | This is where we apply INLINE and INLINABLE pragmas. All we need to
-- do is to attach the unfolding information to the Id. When the interface
-- files are created, unfoldings are only attached if the information is
-- present.
-- do is to attach the unfolding information to the Id.
--
-- Other decisions about whether to inline are made in
-- `calcUnfoldingGuidance` but the decision about whether to then expose
-- the unfolding in the interface file is made in `TidyPgm.addExternal`
-- using this information.
------------------------
makeCorePair
::
DynFlags
->
Id
->
Bool
->
Arity
->
CoreExpr
->
(
Id
,
CoreExpr
)
makeCorePair
dflags
gbl_id
is_default_method
dict_arity
rhs
...
...
Ömer Sinan Ağacan
@osa1
mentioned in issue
#12437
·
Jul 26, 2016
mentioned in issue
#12437
mentioned in issue #12437
Toggle commit list
Write
Preview
Markdown
is supported
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