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
bcc4b299
Commit
bcc4b299
authored
34 years ago
by
ram
Browse files
Options
Downloads
Patches
Plain Diff
Fixed FIND-MOVE-VOP to do the arg/result type intersecting correctly.
parent
d235a892
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/represent.lisp
+15
-15
15 additions, 15 deletions
compiler/represent.lisp
with
15 additions
and
15 deletions
compiler/represent.lisp
+
15
−
15
View file @
bcc4b299
...
...
@@ -390,21 +390,21 @@
(
other-scn
(
sc-number
other-sc
))
(
any-ptype
(
backend-any-primitive-type
*backend*
))
(
op-ptype
(
tn-primitive-type
op-tn
)))
(
dolist
(
info
(
if
write-p
(
svref
(
funcall
slot
op-sc
)
other-scn
)
(
svref
(
funcall
slot
other-sc
)
op-scn
))
nil
)
(
when
(
and
(
operand-restriction-ok
(
first
(
template-arg-types
info
)
)
(
if
(
or
write-p
(
eq
op-ptype
any-ptype
))
other-ptype
op-ptype
)
:tn
op-tn
:t-ok
nil
)
(
operand-restriction-ok
(
first
(
template-result-types
info
))
(
if
(
or
write-p
(
eq
other-ptype
any-ptype
))
op-ptype
other-ptype
)
:t-ok
nil
))
(
return
info
)))))
(
let
((
other-ptype
(
if
(
eq
other-ptype
any-ptype
)
op-ptype
other-ptype
))
(
op-ptype
(
if
(
eq
op-ptype
any-ptype
)
other-ptype
op-ptype
))
)
(
dolist
(
info
(
if
write-p
(
svref
(
funcall
slot
op-sc
)
other-scn
)
(
svref
(
funcall
slot
other-sc
)
op-scn
))
nil
)
(
when
(
and
(
operand-restriction-ok
(
first
(
template-arg-types
info
)
)
(
if
write-p
other-ptype
op-ptype
)
:tn
op-tn
:t-ok
nil
)
(
operand-restriction-ok
(
first
(
template-result-types
info
))
(
if
write-p
op-ptype
other-ptype
)
:t-ok
nil
))
(
return
info
)))))
)
;;; EMIT-COERCE-VOP -- Internal
...
...
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