X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fdfo.lisp;h=a4fca7ffab403cd70f74d6851f166b828ebc1194;hb=69d60b456b07a0256f08df0d02484f361ce5737c;hp=3923da31f44b269cee39b71cf768df129c0434cb;hpb=7b384da95e6a30e1434523213aeeed3a90448c78;p=sbcl.git diff --git a/src/compiler/dfo.lisp b/src/compiler/dfo.lisp index 3923da3..a4fca7f 100644 --- a/src/compiler/dfo.lisp +++ b/src/compiler/dfo.lisp @@ -357,16 +357,6 @@ (values (real) (top) (real-top)))) -;;; COMPONENTs want strings for names, LEAF-DEBUG-NAMEs mightn't be -;;; strings... -(defun component-name-from-functional-debug-name (functional) - (declare (type functional functional)) - (let ((leaf-debug-name (leaf-debug-name functional))) - (the simple-string - (if (stringp leaf-debug-name) - leaf-debug-name - (debug-namify "function ~S" leaf-debug-name))))) - ;;; Given a list of top level lambdas, return ;;; (VALUES NONTOP-COMPONENTS TOP-COMPONENTS HAIRY-TOP-COMPONENTS). ;;; Each of the three values returned is a list of COMPONENTs: @@ -403,8 +393,7 @@ ;; component, since it might end up with multiple ;; lambdas in it, not just this one, but it does ;; seem a better name than just "". - (component-name-from-functional-debug-name - component-lambda))) + (leaf-debug-name component-lambda))) (let ((res (dfo-scavenge-dependency-graph component-lambda new-component))) (when (eq res new-component)