X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fir1-translators.lisp;h=d68a632c7266364207bc21f5050a9d28b5ad3fc6;hb=91e1d65670542ceb7c177423f25b53d250c9d9cb;hp=c4289ed08d058be3f73c6aa1ef962673f7396c7a;hpb=6fa7b9f967304c090078b835c5419d816c017d8d;p=sbcl.git diff --git a/src/compiler/ir1-translators.lisp b/src/compiler/ir1-translators.lisp index c4289ed..d68a632 100644 --- a/src/compiler/ir1-translators.lisp +++ b/src/compiler/ir1-translators.lisp @@ -74,7 +74,7 @@ otherwise evaluate ELSE and return its values. ELSE defaults to NIL." (if (policy *lexenv* (= store-coverage-data 0)) nil (labels ((sub (form) - (or (gethash form *source-paths*) + (or (get-source-path form) (and (consp form) (some #'sub form))))) (or (sub form))))) @@ -475,7 +475,8 @@ Return VALUE without evaluating it." (defun name-lambdalike (thing) (ecase (car thing) ((named-lambda) - (second thing)) + (or (second thing) + `(lambda ,(third thing)))) ((lambda instance-lambda) `(lambda ,(second thing))) ((lambda-with-lexenv) @@ -705,7 +706,7 @@ form to reference any of the previous VARS." #!+sb-doc "LOCALLY declaration* form* -Sequentially evaluate the FORMS in a lexical environment where the the +Sequentially evaluate the FORMS in a lexical environment where the DECLARATIONS have effect. If LOCALLY is a top level form, then the FORMS are also processed as top level forms." (ir1-translate-locally body start next result))