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
01e83420
Commit
01e83420
authored
32 years ago
by
ram
Browse files
Options
Downloads
Patches
Plain Diff
structure -> instance
parent
7b6c3dd9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lisp/gc.c
+10
-10
10 additions, 10 deletions
lisp/gc.c
with
10 additions
and
10 deletions
lisp/gc.c
+
10
−
10
View file @
01e83420
/*
* Stop and Copy GC based on Cheney's algorithm.
*
* $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/gc.c,v 1.4 1993/0
1/10 17:20:12 wlott
Exp $
* $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/gc.c,v 1.4
.1.1
1993/0
2/23 12:00:16 ram
Exp $
*
* Written by Christopher Hoover.
*/
...
...
@@ -521,8 +521,8 @@ void print_garbage(lispobj *from_space, lispobj *from_space_free_pointer)
case
type_ListPointer
:
nwords
=
2
;
break
;
case
type_
Structur
ePointer
:
printf
(
"Don't know about
structur
es yet!
\n
"
);
case
type_
Instanc
ePointer
:
printf
(
"Don't know about
instanc
es yet!
\n
"
);
nwords
=
1
;
break
;
case
type_FunctionPointer
:
...
...
@@ -825,10 +825,10 @@ trans_function_header(lispobj object)
/*
Structur
es */
/*
Instanc
es */
static
int
scav_
structur
e_pointer
(
lispobj
*
where
,
lispobj
object
)
scav_
instanc
e_pointer
(
lispobj
*
where
,
lispobj
object
)
{
if
(
from_space_p
(
object
))
{
lispobj
first
,
*
first_pointer
;
...
...
@@ -1641,7 +1641,7 @@ void gc_init(void)
/* OtherImmediate0 */
scavtab
[
type_ListPointer
|
(
i
<<
3
)]
=
scav_list_pointer
;
scavtab
[
type_OddFixnum
|
(
i
<<
3
)]
=
scav_immediate
;
scavtab
[
type_
Structur
ePointer
|
(
i
<<
3
)]
=
scav_
structur
e_pointer
;
scavtab
[
type_
Instanc
ePointer
|
(
i
<<
3
)]
=
scav_
instanc
e_pointer
;
/* OtherImmediate1 */
scavtab
[
type_OtherPointer
|
(
i
<<
3
)]
=
scav_other_pointer
;
}
...
...
@@ -1689,7 +1689,7 @@ void gc_init(void)
scavtab
[
type_Sap
]
=
scav_unboxed
;
scavtab
[
type_UnboundMarker
]
=
scav_immediate
;
scavtab
[
type_WeakPointer
]
=
scav_weak_pointer
;
scavtab
[
type_
Structur
eHeader
]
=
scav_boxed
;
scavtab
[
type_
Instanc
eHeader
]
=
scav_boxed
;
#ifndef sparc
scavtab
[
type_Fdefn
]
=
scav_fdefn
;
#else
...
...
@@ -1734,7 +1734,7 @@ void gc_init(void)
transother
[
type_Sap
]
=
trans_unboxed
;
transother
[
type_UnboundMarker
]
=
trans_immediate
;
transother
[
type_WeakPointer
]
=
trans_weak_pointer
;
transother
[
type_
Structur
eHeader
]
=
trans_vector
;
transother
[
type_
Instanc
eHeader
]
=
trans_vector
;
transother
[
type_Fdefn
]
=
trans_boxed
;
/* Size table */
...
...
@@ -1748,7 +1748,7 @@ void gc_init(void)
/* OtherImmediate0 */
sizetab
[
type_ListPointer
|
(
i
<<
3
)]
=
size_pointer
;
sizetab
[
type_OddFixnum
|
(
i
<<
3
)]
=
size_immediate
;
sizetab
[
type_
Structur
ePointer
|
(
i
<<
3
)]
=
size_pointer
;
sizetab
[
type_
Instanc
ePointer
|
(
i
<<
3
)]
=
size_pointer
;
/* OtherImmediate1 */
sizetab
[
type_OtherPointer
|
(
i
<<
3
)]
=
size_pointer
;
}
...
...
@@ -1788,7 +1788,7 @@ void gc_init(void)
sizetab
[
type_Sap
]
=
size_unboxed
;
sizetab
[
type_UnboundMarker
]
=
size_immediate
;
sizetab
[
type_WeakPointer
]
=
size_weak_pointer
;
sizetab
[
type_
Structur
eHeader
]
=
size_vector
;
sizetab
[
type_
Instanc
eHeader
]
=
size_vector
;
sizetab
[
type_Fdefn
]
=
size_boxed
;
}
...
...
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