X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fdebug.lisp;h=15d3008175ac31af3bf0139c276d51d1972154cf;hb=74cfbf6d0572b7df1b3492563408a7cb3ae103cf;hp=7e2139806014d065d9c9d1f6fa11b8ae8e856056;hpb=5cf3c4259d529e180d75d4d140f344e600d2b06b;p=sbcl.git diff --git a/src/compiler/debug.lisp b/src/compiler/debug.lisp index 7e21398..15d3008 100644 --- a/src/compiler/debug.lisp +++ b/src/compiler/debug.lisp @@ -122,7 +122,7 @@ (unless (or (constant-p v) (and (global-var-p v) (member (global-var-kind v) - '(:global :special)))) + '(:global :special :unknown)))) (barf "strange *FREE-VARS* entry: ~S" v)) (dolist (n (leaf-refs v)) (check-node-reached n)) @@ -931,11 +931,6 @@ (symbol (block-or-lose (gethash thing *free-funs*))))) ;;; Print cN. -(defun print-continuation (cont) - (declare (type continuation cont)) - (format t " c~D" (cont-num cont)) - (values)) - (defun print-ctran (cont) (declare (type ctran cont)) (format t "c~D " (cont-num cont)) @@ -1009,7 +1004,12 @@ (case (cleanup-kind cleanup) ((:dynamic-extent) (format t "entry DX~{ v~D~}" - (mapcar #'cont-num (cleanup-info cleanup)))) + (mapcar (lambda (lvar-or-cell) + (if (consp lvar-or-cell) + (cons (car lvar-or-cell) + (cont-num (cdr lvar-or-cell))) + (cont-num lvar-or-cell))) + (cleanup-info cleanup)))) (t (format t "entry ~S" (entry-exits node)))))) (exit