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
3541db08
Commit
3541db08
authored
34 years ago
by
ram
Browse files
Options
Downloads
Patches
Plain Diff
Changed OUTPUT-RANDOM to print the name of code objects and the value of value
cells.
parent
ab3ba499
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
code/print.lisp
+9
-4
9 additions, 4 deletions
code/print.lisp
with
9 additions
and
4 deletions
code/print.lisp
+
9
−
4
View file @
3541db08
...
@@ -7,11 +7,11 @@
...
@@ -7,11 +7,11 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
;;;
(
ext:file-comment
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/print.lisp,v 1.
19
1991/0
2/08 13:34:51
ram Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/print.lisp,v 1.
20
1991/0
4/16 01:28:25
ram Exp $"
)
;;;
;;;
;;; **********************************************************************
;;; **********************************************************************
;;;
;;;
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/print.lisp,v 1.
19
1991/0
2/08 13:34:51
ram Exp $
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/print.lisp,v 1.
20
1991/0
4/16 01:28:25
ram Exp $
;;;
;;;
;;; CMU Common Lisp printer.
;;; CMU Common Lisp printer.
;;;
;;;
...
@@ -1343,7 +1343,11 @@
...
@@ -1343,7 +1343,11 @@
(
let
((
type
(
get-type
object
)))
(
let
((
type
(
get-type
object
)))
(
case
type
(
case
type
(
#.
vm:code-header-type
(
#.
vm:code-header-type
(
write-string
"Code Object"
stream
))
(
write-string
"Code Object"
stream
)
(
let
((
dinfo
(
code-header-ref
object
vm:code-debug-info-slot
)))
(
when
dinfo
(
write-char
#\space
stream
)
(
output-object
(
c::compiled-debug-info-name
dinfo
)
stream
))))
((
#.
vm:function-header-type
#.
vm:closure-function-header-type
)
((
#.
vm:function-header-type
#.
vm:closure-function-header-type
)
(
output-function-object
object
stream
))
(
output-function-object
object
stream
))
(
#.
vm:return-pc-header-type
(
#.
vm:return-pc-header-type
...
@@ -1357,7 +1361,8 @@
...
@@ -1357,7 +1361,8 @@
(
output-function-object
(
%primitive
c::closure-function
object
)
(
output-function-object
(
%primitive
c::closure-function
object
)
stream
))))
stream
))))
(
#.
vm:value-cell-header-type
(
#.
vm:value-cell-header-type
(
write-string
"Value Cell"
stream
))
(
write-string
"Value Cell "
stream
)
(
output-object
(
%primitive
value-cell-ref
object
)
stream
))
(
#.
vm:unbound-marker-type
(
#.
vm:unbound-marker-type
(
write-string
"Unbound Marker"
stream
))
(
write-string
"Unbound Marker"
stream
))
(
t
(
t
...
...
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