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
jberryman
GHC
Commits
8384f6dd
Commit
8384f6dd
authored
Feb 19, 2001
by
sewardj
Browse files
[project @ 2001-02-19 11:38:55 by sewardj]
Expand on comments re StString lifting activity
parent
0879ee32
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/nativeGen/MachCode.lhs
View file @
8384f6dd
...
...
@@ -91,6 +91,11 @@ stmtsToInstrs stmts
ie, the Str is planted in-line, when what we really meant was to place
a _reference_ to the string there. liftStrings will lift out all such
strings in top-level data and place them at the end of the block.
This is still a rather half-baked solution -- to do the job entirely right
would mean a complete traversal of all the Stixes, but there's currently no
real need for it, and it would be slow. Also, potentially there could be
literal types other than strings which need lifting out?
-}
liftStrings :: [StixTree] -- originals
...
...
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