summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sb-eval2.lisp6
1 files changed, 3 insertions, 3 deletions
diff --git a/sb-eval2.lisp b/sb-eval2.lisp
index 0d97d47..5da957c 100644
--- a/sb-eval2.lisp
+++ b/sb-eval2.lisp
@@ -523,9 +523,9 @@
(some (lambda (x) (maybe-closes-over-p context x argvars))
default-values)))
(body-context (context-add-specials new-context specials))
- (body* (if (and namep (symbolp name))
- (prepare-form `(block ,name ,@body) body-context)
- (prepare-progn body body-context)))
+ (body* (prepare-form
+ `(block ,(sb-int:fun-name-block-name name) ,@body)
+ body-context))
(unbound (gensym)))
(setq varspecs (nreverse varspecs))
(flet