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
176aaff9
Commit
176aaff9
authored
35 years ago
by
wlott
Browse files
Options
Downloads
Patches
Plain Diff
Added noise to define mumble-size constants if there are no :rest t slots.
parent
a3a7d1a8
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
compiler/mips/cell.lisp
+20
-6
20 additions, 6 deletions
compiler/mips/cell.lisp
with
20 additions
and
6 deletions
compiler/mips/cell.lisp
+
20
−
6
View file @
176aaff9
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
;;; Scott Fahlman (FAHLMAN@CMUC).
;;; Scott Fahlman (FAHLMAN@CMUC).
;;; **********************************************************************
;;; **********************************************************************
;;;
;;;
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/cell.lisp,v 1.
6
1990/02/1
4 21:51
:2
1
wlott Exp $
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/cell.lisp,v 1.
7
1990/02/1
8 06:00
:2
7
wlott Exp $
;;;
;;;
;;; This file contains the VM definition of various primitive memory access
;;; This file contains the VM definition of various primitive memory access
;;; VOPs for the MIPS.
;;; VOPs for the MIPS.
...
@@ -19,10 +19,11 @@
...
@@ -19,10 +19,11 @@
(
in-package
"VM"
)
(
in-package
"VM"
)
(
export
'
(
cons-structure
cons-car-slot
cons-cdr-slot
(
export
'
(
cons-structure
cons-size
cons-car-slot
cons-cdr-slot
symbol-structure
symbol-value-slot
symbol-function-slot
symbol-structure
symbol-size
symbol-value-slot
symbol-plist-slot
symbol-name-slot
symbol-package-slot
symbol-function-slot
symbol-plist-slot
symbol-name-slot
symbol-package-slot
vector-structure
vector-length-slot
vector-data-offset
vector-structure
vector-length-slot
vector-data-offset
...
@@ -62,8 +63,12 @@
...
@@ -62,8 +63,12 @@
(
let
((
compile-time
nil
)
(
let
((
compile-time
nil
)
(
load-time
nil
)
(
load-time
nil
)
(
index
(
if
header
1
0
))
(
index
(
if
header
1
0
))
(
slot-names
(
if
header
'
(
header
))))
(
slot-names
(
if
header
'
(
header
)))
(
did-rest
nil
))
(
dolist
(
slot
slots
)
(
dolist
(
slot
slots
)
(
when
did-rest
(
error
"Rest slot ~S in defslots of ~S is not the last one."
did-rest
name
))
(
multiple-value-bind
(
multiple-value-bind
(
slot-name
rest
boxed
ref-vop
ref-trans
set-vop
set-trans
docs
)
(
slot-name
rest
boxed
ref-vop
ref-trans
set-vop
set-trans
docs
)
(
parse-slot
slot
)
(
parse-slot
slot
)
...
@@ -85,8 +90,17 @@
...
@@ -85,8 +90,17 @@
,@
(
if
(
not
boxed
)
'
(
:boxed
nil
))
,@
(
if
(
not
boxed
)
'
(
:boxed
nil
))
,@
(
if
rest
'
(
:rest
t
)))
,@
(
if
rest
'
(
:rest
t
)))
slot-name
)
slot-name
)
slot-names
))
slot-names
)
(
when
rest
(
setf
did-rest
slot-name
)))
(
incf
index
))
(
incf
index
))
(
unless
did-rest
(
push
`
(
defconstant
,
(
intern
(
concatenate
'simple-string
(
string
name
)
"-SIZE"
))
,
index
,
(
format
nil
"Number of slots used by each ~S."
name
))
compile-time
))
`
(
progn
`
(
progn
(
eval-when
(
compile
load
eval
)
(
eval-when
(
compile
load
eval
)
,@
(
nreverse
compile-time
))
,@
(
nreverse
compile-time
))
...
...
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