Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cmucl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Carl Shapiro
cmucl
Commits
742d9767
Commit
742d9767
authored
34 years ago
by
wlott
Browse files
Options
Downloads
Patches
Plain Diff
Rob added code to keep it from spilling the NFP.
parent
55ca2cb6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
compiler/pack.lisp
+14
-8
14 additions, 8 deletions
compiler/pack.lisp
with
14 additions
and
8 deletions
compiler/pack.lisp
+
14
−
8
View file @
742d9767
...
...
@@ -811,6 +811,11 @@
;;; the TN in that location. There must be some TN live in every location,
;;; since normal load TN packing failed.
;;;
;;; We never spill component TNs, since there are used magically within VOPs.
;;;
;;; ### Somewhat dubious to spill environment TNs, but we would get in
;;; ### trouble if we never did.
;;;
;;; Spilling is done using the same mechanism as register saving.
;;;
(
defun
spill-and-pack-load-tn
(
sc
op
)
...
...
@@ -818,7 +823,7 @@
(
let
((
vop
(
tn-ref-vop
op
))
(
sb
(
sc-sb
sc
)))
(
event
spill-tn
(
vop-node
vop
))
(
dolist
(
loc
(
sc-locations
sc
)
(
failed-to-pack-load-tn-error
op
))
(
when
(
do
((
ref
(
vop-refs
vop
)
(
tn-ref-next-ref
ref
)))
...
...
@@ -834,13 +839,14 @@
(
return
nil
))))
(
let
((
victim
(
svref
(
finite-sb-live-tns
sb
)
loc
)))
(
assert
victim
)
(
save-complex-writer-tn
victim
vop
)
(
when
(
eq
(
template-result-types
(
vop-info
vop
))
:conditional
)
(
spill-conditional-arg-tn
victim
vop
)))
(
let
((
res
(
make-tn
0
:load
nil
sc
)))
(
setf
(
tn-offset
res
)
loc
)
(
return
res
))))))
(
unless
(
eq
(
tn-kind
victim
)
:component
)
(
save-complex-writer-tn
victim
vop
)
(
when
(
eq
(
template-result-types
(
vop-info
vop
))
:conditional
)
(
spill-conditional-arg-tn
victim
vop
))
(
let
((
res
(
make-tn
0
:load
nil
sc
)))
(
setf
(
tn-offset
res
)
loc
)
(
return
res
))))))))
;;; Pack-Load-TN -- Internal
...
...
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