X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fdyncount.lisp;h=c14cb73dd7b7520cd1e65f761c0f6fac265f4875;hb=683874b497a99cd2c11b6c5d9b47e2785b1ede5f;hp=16ad8bcdbe6943f45a4e72f8f9d80c6c5fdbd5ba;hpb=0b5610d8a220a4b20cbeac958953ca4d67c00038;p=sbcl.git diff --git a/src/code/dyncount.lisp b/src/code/dyncount.lisp index 16ad8bc..c14cb73 100644 --- a/src/code/dyncount.lisp +++ b/src/code/dyncount.lisp @@ -100,7 +100,7 @@ comments from CMU CL: (:constructor %make-vop-stats (name)) (:constructor make-vop-stats-key) (:copier nil)) - (name (required-argument) :type simple-string) + (name (missing-arg) :type simple-string) (data (make-array 2 :element-type 'double-float) :type count-vector)) (defmacro vop-stats-count (x) `(aref (vop-stats-data ,x) 0)) @@ -214,8 +214,8 @@ comments from CMU CL: ;;; Return the DYNCOUNT-INFO for FUNCTION. (defun find-info-for (function) (declare (type function function)) - (let* ((function (%primitive closure-function function)) - (component (sb!di::function-code-header function))) + (let* ((function (%primitive closure-fun function)) + (component (sb!di::fun-code-header function))) (do ((end (get-header-data component)) (i sb!vm:code-constants-offset (1+ i))) ((= end i)) @@ -430,7 +430,7 @@ comments from CMU CL: cost) total-cost)) (when (zerop (decf counter)) - (format t "[End of top ~D]~%" cut-off)))))) + (format t "[End of top ~W]~%" cut-off)))))) ;;; Divide SORTED into two lists, the first CUT-OFF elements long. Any VOP ;;; names that match one of the report strings are moved into the REPORT list @@ -532,7 +532,6 @@ comments from CMU CL: (compared (if compare (compare-stats compensated compare) compensated)) - (*gc-verbose* nil) (*gc-notify-stream* nil)) (multiple-value-bind (total-count total-cost) (cost-summary compensated) (multiple-value-bind (compare-total-count compare-total-cost)