X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fearly-c.lisp;h=b313fcc4f34a54e3a9393c7d8784ca526a5299d8;hb=7f579b076a1fc54587538ead07e506e7f06f3fe8;hp=c1715ddbd7f2c492d0d06e9b6f1035ac377db3b8;hpb=318ab6173a0bda1dcb5700e1c8c116eee8006682;p=sbcl.git diff --git a/src/compiler/early-c.lisp b/src/compiler/early-c.lisp index c1715dd..b313fcc 100644 --- a/src/compiler/early-c.lisp +++ b/src/compiler/early-c.lisp @@ -93,6 +93,7 @@ (defvar *current-path*) (defvar *current-component*) (defvar *delayed-ir1-transforms*) +(defvar *eval-tlf-index*) (defvar *handled-conditions*) (defvar *disabled-package-locks*) (defvar *policy*) @@ -229,7 +230,7 @@ the stack without triggering overflow protection.") (setf *debug-name-sharp* (make-debug-name-marker) *debug-name-ellipsis* (make-debug-name-marker)) -(defun debug-name (type thing) +(defun debug-name (type thing &optional context) (let ((*debug-name-punt* nil)) (labels ((walk (x) (typecase x @@ -256,7 +257,7 @@ the stack without triggering overflow protection.") x) (t (type-of x))))) - (let ((name (list type (walk thing)))) + (let ((name (list* type (walk thing) (when context (name-context))))) (when (legal-fun-name-p name) (bug "~S is a legal function name, and cannot be used as a ~ debug name." name))