Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
cmucl
cmucl
Commits
5de258e4
Commit
5de258e4
authored
Dec 22, 1991
by
ram
Browse files
When computing costs for references by MOVE VOPs, don't signal an error if a
cost is missing.
parent
c9c4354e
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/represent.lisp
View file @
5de258e4
...
...
@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/represent.lisp,v 1.
29
1991/1
1/11 23:13:30
ram Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/represent.lisp,v 1.
30
1991/1
2/22 01:27:48
ram Exp $"
)
;;;
;;; **********************************************************************
;;;
...
...
@@ -291,7 +291,10 @@
(
sc-number
rep
))))
(
when
res
(
incf
(
svref
costs
scn
)
res
))))
(
add-costs
(
sc-move-costs
rep
))))))
(
dolist
(
scn
scs
)
(
let
((
res
(
svref
(
sc-move-costs
rep
)
scn
)))
(
when
res
(
incf
(
svref
costs
scn
)
res
))))))))
(
t
(
do
((
cost
(
funcall
costs-slot
info
)
(
cdr
cost
))
(
op
(
funcall
ops-slot
vop
)
(
tn-ref-across
op
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment