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
ca5118f2
Commit
ca5118f2
authored
35 years ago
by
ram
Browse files
Options
Downloads
Patches
Plain Diff
number-stack => non-descriptor-stack
Added CALLEE-NFP-TN and CALLEE-RETURN-PC-TN.
parent
890821d3
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/codegen.lisp
+20
-1
20 additions, 1 deletion
compiler/codegen.lisp
with
20 additions
and
1 deletion
compiler/codegen.lisp
+
20
−
1
View file @
ca5118f2
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
(
defun
current-nfp-tn
(
vop
)
(
defun
current-nfp-tn
(
vop
)
"Return the TN that is used to hold the number stack frame-pointer in VOP's
"Return the TN that is used to hold the number stack frame-pointer in VOP's
function. Returns NIL if no number stack frame was allocated."
function. Returns NIL if no number stack frame was allocated."
(
unless
(
zerop
(
sb-allocated-size
'n
umbe
r-stack
))
(
unless
(
zerop
(
sb-allocated-size
'n
on-descripto
r-stack
))
(
let
((
block
(
ir2-block-block
(
vop-block
vop
))))
(
let
((
block
(
ir2-block-block
(
vop-block
vop
))))
(
when
(
ir2-environment-number-stack-p
(
when
(
ir2-environment-number-stack-p
(
environment-info
(
environment-info
...
@@ -39,6 +39,25 @@
...
@@ -39,6 +39,25 @@
(
block-lambda
block
))))
(
block-lambda
block
))))
(
ir2-component-nfp
(
component-info
(
block-component
block
)))))))
(
ir2-component-nfp
(
component-info
(
block-component
block
)))))))
;;; CALLEE-NFP-TN -- Interface
;;;
(
defun
callee-nfp-tn
(
2env
)
"Return the TN that is used to hold the number stack frame-pointer in the
function designated by 2env. Returns NIL if no number stack frame was
allocated."
(
unless
(
zerop
(
sb-allocated-size
'non-descriptor-stack
))
(
when
(
ir2-environment-number-stack-p
2env
)
(
ir2-component-nfp
(
component-info
*compile-component*
)))))
;;; CALLEE-RETURN-PC-TN -- Interface
;;;
(
defun
callee-return-pc-tn
(
2env
)
"Return the TN used for passing the return PC in a local call to the function
designated by 2env."
(
ir2-environment-return-pc-pass
2env
))
;;; Generate-Code -- Interface
;;; Generate-Code -- Interface
;;;
;;;
...
...
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