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
c8ec6c2b
Commit
c8ec6c2b
authored
35 years ago
by
ram
Browse files
Options
Downloads
Patches
Plain Diff
Changed n-arg miscops not to allocate ARGS. Moved ILLEGAL-MOVE here
from move, since move must now be loaded before.
parent
4d5cafdd
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/old-rt/miscop.lisp
+21
-4
21 additions, 4 deletions
compiler/old-rt/miscop.lisp
with
21 additions
and
4 deletions
compiler/old-rt/miscop.lisp
+
21
−
4
View file @
c8ec6c2b
...
...
@@ -154,10 +154,8 @@
(
define-vop
(
n-arg-miscop
zero-arg-miscop
)
(
:args
(
passed-args
:more
t
))
(
:ignore
passed-args
a1
a2
a3
nl1
misc-pc
)
(
:temporary
(
:sc
descriptor-reg
:offset
argument-pointer-offset
)
args
)
(
:info
nargs
)
(
:generator
40
(
inst
lr
args
cont-tn
)
(
inst
miscopx
miscop-name
)
(
inst
cal
nl0
zero-tn
nargs
)
(
note-this-location
vop
:known-return
)
...
...
@@ -167,10 +165,8 @@
(
define-vop
(
n-arg-two-value-miscop
zero-arg-two-value-miscop
)
(
:args
(
passed-args
:more
t
))
(
:ignore
passed-args
a2
a3
nl1
misc-pc
)
(
:temporary
(
:sc
descriptor-reg
:offset
argument-pointer-offset
)
args
)
(
:info
nargs
)
(
:generator
40
(
inst
lr
args
cont-tn
)
(
inst
miscopx
miscop-name
)
(
inst
cal
nl0
zero-tn
nargs
)
(
note-this-location
vop
:known-return
)
...
...
@@ -178,3 +174,24 @@
(
inst
lr
r
a0
))
(
unless
(
location=
r1
a1
)
(
inst
lr
r1
a1
))))
;;;; ILLEGAL-MOVE
;;; This VOP is emitted when we attempt to do a move between incompatible
;;; primitive types. We signal an error, and ignore the result (which is
;;; specified only to terminate its lifetime.)
;;;
(
define-vop
(
illegal-move
three-arg-miscop
)
(
:args
(
x
:scs
(
any-reg
descriptor-reg
)
:target
a1
)
(
y-type
:scs
(
any-reg
descriptor-reg
)
:target
a2
))
(
:variant-vars
)
(
:ignore
r
a3
nl0
nl1
misc-pc
)
(
:generator
666
(
loadi
a0
clc::error-object-not-type
)
(
unless
(
location=
x
a1
)
(
inst
lr
a1
x
))
(
unless
(
location=
y-type
a2
)
(
inst
lr
a2
y-type
))
(
inst
miscop
'clc::error2
)
(
note-this-location
vop
:internal-error
)))
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