mirror of
git://git.code.sf.net/p/sbcl/sbcl
synced 2026-09-10 07:26:40 -04:00
hide-packages.test: don't look inside stack-allocated objects.
They might be already out of extent.
This commit is contained in:
parent
cdb96ab8de
commit
1a3235fdd2
5
tests/hide-packages.test.sh
Normal file → Executable file
5
tests/hide-packages.test.sh
Normal file → Executable file
|
|
@ -162,8 +162,9 @@ run_sbcl <<\EOF
|
|||
(print (read-from-string "keyword:x") (make-broadcast-stream))
|
||||
;; Now walk all heap objects
|
||||
(macrolet ((visit (that)
|
||||
`(check-undesired
|
||||
this ,that undesired-symbols undesired-strings hashes)))
|
||||
`(unless (sb-ext:stack-allocated-p ,that)
|
||||
(check-undesired
|
||||
this ,that undesired-symbols undesired-strings hashes))))
|
||||
(sb-vm:map-allocated-objects
|
||||
(lambda (this type size)
|
||||
(declare (ignore type size))
|
||||
|
|
|
|||
Loading…
Reference in a new issue