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
da692e49
Commit
da692e49
authored
34 years ago
by
ram
Browse files
Options
Downloads
Patches
Plain Diff
Added error check to squelch type warning.
parent
d0e927b6
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
compiler/copyprop.lisp
+3
-2
3 additions, 2 deletions
compiler/copyprop.lisp
compiler/represent.lisp
+4
-1
4 additions, 1 deletion
compiler/represent.lisp
with
7 additions
and
3 deletions
compiler/copyprop.lisp
+
3
−
2
View file @
da692e49
...
...
@@ -166,8 +166,9 @@
(
return
nil
)))
(
let
((
info
(
vop-info
vop
)))
(
not
(
and
(
eq
(
vop-info-move-args
info
)
:local-call
)
(
>=
(
position-in
#'
tn-ref-across
arg
(
vop-args
vop
)
:key
#'
tn-ref-tn
)
(
>=
(
or
(
position-in
#'
tn-ref-across
arg
(
vop-args
vop
)
:key
#'
tn-ref-tn
)
(
error
"Couldn't find REF?"
))
(
length
(
template-arg-types
info
))))))))
...
...
This diff is collapsed.
Click to expand it.
compiler/represent.lisp
+
4
−
1
View file @
da692e49
...
...
@@ -47,7 +47,10 @@
((
null
costs
)
(
assert
more-cost
)
(
values
arg-p
(
+
n
(
position-in
#'
tn-ref-across
ref
refs
)
1
)
(
+
n
(
or
(
position-in
#'
tn-ref-across
ref
refs
)
(
error
"Couldn't find REF?"
))
1
)
t
more-cost
nil
...
...
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