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
Shayne Fletcher
Glasgow Haskell Compiler
Commits
c6453def
Commit
c6453def
authored
Jul 25, 2008
by
Simon Marlow
Browse files
SRT labels don't need to be globally visible
Saves space in the symbol table and speeds up linking
parent
1a50b338
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/cmm/CLabel.hs
View file @
c6453def
...
...
@@ -528,6 +528,8 @@ externallyVisibleCLabel (PlainModuleInitLabel _)= True
externallyVisibleCLabel
ModuleRegdLabel
=
False
externallyVisibleCLabel
(
RtsLabel
_
)
=
True
externallyVisibleCLabel
(
ForeignLabel
_
_
_
)
=
True
externallyVisibleCLabel
(
IdLabel
name
SRT
)
=
False
-- SRTs don't need to be external
externallyVisibleCLabel
(
IdLabel
name
_
)
=
isExternalName
name
externallyVisibleCLabel
(
CC_Label
_
)
=
True
externallyVisibleCLabel
(
CCS_Label
_
)
=
True
...
...
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