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
9763d630
Commit
9763d630
authored
Nov 13, 1990
by
ram
Browse files
Changed variable dumping to realize that a TN can have no refs even
when its leaf has refs (due to IR2 optimization.)
parent
d960a58d
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/debug-dump.lisp
View file @
9763d630
...
@@ -399,7 +399,7 @@
...
@@ -399,7 +399,7 @@
(
collect
((
vars
))
(
collect
((
vars
))
(
labels
((
frob-leaf
(
leaf
tn
gensym-p
)
(
labels
((
frob-leaf
(
leaf
tn
gensym-p
)
(
let
((
name
(
leaf-name
leaf
)))
(
let
((
name
(
leaf-name
leaf
)))
(
when
(
and
name
(
leaf-refs
leaf
)
(
when
(
and
name
(
leaf-refs
leaf
)
(
tn-offset
tn
)
(
or
gensym-p
(
symbol-package
name
)))
(
or
gensym-p
(
symbol-package
name
)))
(
vars
(
cons
leaf
tn
)))))
(
vars
(
cons
leaf
tn
)))))
(
frob-lambda
(
x
gensym-p
)
(
frob-lambda
(
x
gensym-p
)
...
@@ -449,7 +449,8 @@
...
@@ -449,7 +449,8 @@
(
let
((
res
(
gethash
var
var-locs
)))
(
let
((
res
(
gethash
var
var-locs
)))
(
cond
(
res
)
(
cond
(
res
)
(
t
(
t
(
assert
(
null
(
leaf-refs
var
)))
(
assert
(
or
(
null
(
leaf-refs
var
))
(
not
(
tn-offset
(
leaf-info
var
)))))
'deleted
))))
'deleted
))))
...
...
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