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
e5c305b5
Commit
e5c305b5
authored
32 years ago
by
wlott
Browse files
Options
Downloads
Patches
Plain Diff
Changed byte-compiler stuff to use new-assembler.
parent
de434655
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/generic/core.lisp
+16
-8
16 additions, 8 deletions
compiler/generic/core.lisp
with
16 additions
and
8 deletions
compiler/generic/core.lisp
+
16
−
8
View file @
e5c305b5
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
;;; 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/compiler/generic/core.lisp,v 1.1
5
1992/07/
11 02:11:49
wlott Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/generic/core.lisp,v 1.1
6
1992/07/
22 23:35:36
wlott Exp $"
)
;;;
;;;
;;; **********************************************************************
;;; **********************************************************************
;;;
;;;
...
@@ -197,21 +197,29 @@
...
@@ -197,21 +197,29 @@
;;; MAKE-CORE-BYTE-COMPONENT -- Interface.
;;; MAKE-CORE-BYTE-COMPONENT -- Interface.
;;;
;;;
(
defun
make-core-byte-component
(
byte-outpu
t
constants
xeps
object
)
(
defun
make-core-byte-component
(
segmen
t
constants
xeps
object
)
(
declare
(
type
byte-output
byte-outpu
t
)
(
declare
(
type
new-assem:segment
segmen
t
)
(
type
vector
constants
)
(
type
vector
constants
)
(
type
list
xeps
)
(
type
list
xeps
)
(
type
core-object
object
))
(
type
core-object
object
))
(
without-gcing
(
without-gcing
(
let*
((
num-constants
(
length
constants
))
(
let*
((
num-constants
(
length
constants
))
(
length
(
byte-output-length
byte-outpu
t
))
(
length
(
byte-output-length
segmen
t
))
(
code-obj
(
%primitive
allocate-code-object
(
code-obj
(
%primitive
allocate-code-object
(
the
index
(
1+
num-constants
))
(
the
index
(
1+
num-constants
))
length
)))
length
))
(
declare
(
type
index
length
))
(
fill-ptr
(
code-instructions
code-obj
)))
(
declare
(
type
index
length
)
(
type
system-area-pointer
fill-ptr
))
(
output-byte-output
byte-output
(
new-assem:segment-map-output
(
make-code-instruction-stream
code-obj
))
segment
#'
(
lambda
(
sap
amount
)
(
declare
(
type
system-area-pointer
sap
)
(
type
index
amount
))
(
system-area-copy
sap
0
fill-ptr
0
(
*
amount
vm:byte-bits
))
(
setf
fill-ptr
(
sap+
fill-ptr
amount
))))
(
dolist
(
noise
xeps
)
(
dolist
(
noise
xeps
)
(
let
((
xep
(
cdr
noise
)))
(
let
((
xep
(
cdr
noise
)))
...
...
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