X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fdebug.lisp;h=f4be0a0e2e91c2e30f679239b134a4063ccec546;hb=8e4ec430504f0f563280be26034af590dff50d34;hp=9c39cfd6641011b07cf137d85076180e50ea261b;hpb=c4fcc5f12e17c67f4b591d2cc0586eb6b256ea04;p=sbcl.git diff --git a/src/compiler/debug.lisp b/src/compiler/debug.lisp index 9c39cfd..f4be0a0 100644 --- a/src/compiler/debug.lisp +++ b/src/compiler/debug.lisp @@ -15,7 +15,7 @@ (defvar *args* () #!+sb-doc "This variable is bound to the format arguments when an error is signalled - by BARF or BURP.") +by BARF or BURP.") (defvar *ignored-errors* (make-hash-table :test 'equal)) @@ -36,7 +36,7 @@ (defvar *burp-action* :warn #!+sb-doc "Action taken by the BURP function when a possible compiler bug is detected. - One of :WARN, :ERROR or :NONE.") +One of :WARN, :ERROR or :NONE.") (declaim (type (member :warn :error :none) *burp-action*)) ;;; Called when something funny but possibly correct is noticed. @@ -877,15 +877,11 @@ ;;; ;;; FIXME: ;;; * Perhaps this machinery should be #!+SB-SHOW. -;;; * Probably the hash tables should either be weak hash tables, -;;; or only allocated within a single compilation unit. Otherwise -;;; there will be a tendency for them to grow without bound and -;;; keep garbage from being collected. (macrolet ((def (counter vto vfrom fto ffrom) `(progn (declaim (type hash-table ,vto ,vfrom)) - (defvar ,vto (make-hash-table :test 'eq)) - (defvar ,vfrom (make-hash-table :test 'eql)) + (defvar ,vto) + (defvar ,vfrom) (declaim (type fixnum ,counter)) (defvar ,counter 0) @@ -900,7 +896,7 @@ (def *continuation-number* *continuation-numbers* *number-continuations* cont-num num-cont) (def *tn-id* *tn-ids* *id-tns* tn-id id-tn) - (def *label-id* *id-labels* *label-ids* label-id id-label)) + (def *label-id* *label-ids* *id-labels* label-id id-label)) ;;; Print a terse one-line description of LEAF. (defun print-leaf (leaf &optional (stream *standard-output*))