X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcompiler%2Fdebug.lisp;h=c565cae9526b1d0e181b5f888787be6b681f5450;hb=dec94b039e8ec90baf21463df839a6181de606f6;hp=2458152e41e0d270aa2c833f6f39c155d81fcccc;hpb=2c6b90e36a7c0377cd79625eb6c94d580f98cb93;p=sbcl.git diff --git a/src/compiler/debug.lisp b/src/compiler/debug.lisp index 2458152..c565cae 100644 --- a/src/compiler/debug.lisp +++ b/src/compiler/debug.lisp @@ -903,7 +903,7 @@ (def-frob *tn-id* *tn-ids* *id-tns* tn-id id-tn) (def-frob *label-id* *id-labels* *label-ids* label-id id-label)) -;;; Print out a terse one-line description of a leaf. +;;; Print a terse one-line description of LEAF. (defun print-leaf (leaf &optional (stream *standard-output*)) (declare (type leaf leaf) (type stream stream)) (etypecase leaf @@ -919,10 +919,7 @@ (functional (aver (eq (functional-kind leaf) :top-level-xep)) (format stream "TL-XEP ~S" - (let ((info (leaf-info leaf))) - (etypecase info - (entry-info (entry-info-name info)) - (byte-lambda-info :byte-compiled-entry))))))) + (entry-info-name (leaf-info leaf)))))) ;;; Attempt to find a block given some thing that has to do with it. (declaim (ftype (function (t) cblock) block-or-lose)) @@ -1074,7 +1071,8 @@ (format t "~D: " number) (print-vop vop))) -;;; Like Print-Nodes, but dumps the IR2 representation of the code in Block. +;;; This is like PRINT-NODES, but dumps the IR2 representation of the +;;; code in BLOCK. (defun print-vops (block) (setq block (block-or-lose block)) (let ((2block (block-info block))) @@ -1090,8 +1088,8 @@ (print-ir2-block block)) (values)) -;;; Do a Print-Nodes on Block and all blocks reachable from it by successor -;;; links. +;;; Do a PRINT-NODES on BLOCK and all blocks reachable from it by +;;; successor links. (defun print-blocks (block) (setq block (block-or-lose block)) (do-blocks (block (block-component block) :both) @@ -1106,7 +1104,7 @@ (walk block)) (values)) -;;; Print all blocks in Block's component in DFO. +;;; Print all blocks in BLOCK's component in DFO. (defun print-all-blocks (thing) (do-blocks (block (block-component (block-or-lose thing))) (handler-case (print-nodes block) @@ -1116,7 +1114,7 @@ (defvar *list-conflicts-table* (make-hash-table :test 'eq)) -;;; Add all Always-Live TNs in Block to the conflicts. TN is ignored when +;;; Add all ALWAYS-LIVE TNs in Block to the conflicts. TN is ignored when ;;; it appears in the global conflicts. (defun add-always-live-tns (block tn) (declare (type ir2-block block) (type tn tn))