Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Shayne Fletcher
Glasgow Haskell Compiler
Commits
0c37aef2
Commit
0c37aef2
authored
Aug 03, 2016
by
Matthew Pickering
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update old comment InlinePragma
parent
2f79e79c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
compiler/basicTypes/BasicTypes.hs
compiler/basicTypes/BasicTypes.hs
+2
-2
No files found.
compiler/basicTypes/BasicTypes.hs
View file @
0c37aef2
...
...
@@ -971,14 +971,14 @@ This data type mirrors what you can write in an INLINE or NOINLINE pragma in
the source program.
If you write nothing at all, you get defaultInlinePragma:
inl_inline =
False
inl_inline =
EmptyInlineSpec
inl_act = AlwaysActive
inl_rule = FunLike
It's not possible to get that combination by *writing* something, so
if an Id has defaultInlinePragma it means the user didn't specify anything.
If inl_inline =
Tru
e, then the Id should have an InlineRule unfolding.
If inl_inline =
Inline or Inlineabl
e, then the Id should have an InlineRule unfolding.
Note [CONLIKE pragma]
~~~~~~~~~~~~~~~~~~~~~
...
...
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