X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fdfo.lisp;h=8ee0621c00a689473391d72505eb78749fa31723;hb=0e8649cf907d26f111864e4e29c7f9787828efbd;hp=28c53e31df839d810a1236382ef6fcc5b891a3ab;hpb=1840d888d2ef13fe0ea5aaa06f1fef3300da682b;p=sbcl.git diff --git a/src/compiler/dfo.lisp b/src/compiler/dfo.lisp index 28c53e3..8ee0621 100644 --- a/src/compiler/dfo.lisp +++ b/src/compiler/dfo.lisp @@ -190,7 +190,10 @@ (home-kind (functional-kind home)) (home-externally-visible-p (or (eq home-kind :toplevel) - (functional-has-external-references-p home)))) + (functional-has-external-references-p home) + (let ((entry (functional-entry-fun home))) + (and entry + (functional-has-external-references-p entry)))))) (unless (or (and home-externally-visible-p (eq (functional-kind fun) :external)) (eq home-kind :deleted))