Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gesh
GHC
Commits
106d45f2
Commit
106d45f2
authored
27 years ago
by
sof
Browse files
Options
Downloads
Patches
Plain Diff
[project @ 1997-09-03 23:52:17 by sof]
doc update
parent
fd85674c
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ghc/compiler/prelude/PrimRep.lhs
+6
-4
6 additions, 4 deletions
ghc/compiler/prelude/PrimRep.lhs
with
6 additions
and
4 deletions
ghc/compiler/prelude/PrimRep.lhs
+
6
−
4
View file @
106d45f2
...
...
@@ -78,10 +78,12 @@ data PrimRep
%************************************************************************
Whether or not the thing is a pointer that the garbage-collector
should follow.
should follow. Or, to put it another (less confusing) way, whether
the object in question is a heap object.
Or, to put it another (less confusing) way, whether the object in
question is a heap object.
Depending on the outcome, this predicate determines what stack
the pointer/object possibly will have to be saved onto, and the
computation of GC liveness info.
\begin{code}
isFollowableRep :: PrimRep -> Bool
...
...
@@ -93,7 +95,7 @@ isFollowableRep ByteArrayRep = True
--
-- A: they're followable because these objects
-- should be lugged around by the storage manager
-- (==>
we need to generate code that identify them as such
) -- 3/97 SOF
-- (==>
registers containing them are live
) -- 3/97 SOF
isFollowableRep ForeignObjRep = True
isFollowableRep StablePtrRep = False
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment