From eb8b5743d32198dac511035aba9f93c18e9633b4 Mon Sep 17 00:00:00 2001 From: ram <ram> Date: Thu, 30 Jan 1992 17:04:45 +0000 Subject: [PATCH] Fixed REQUIRE-ARGUMENTS to work on functions with no argcount info. Fixed COMPUTE-TIME-OVERHEAD-AUX to always have arg info. --- code/profile.lisp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/profile.lisp b/code/profile.lisp index 3aecac779..96f4f5e68 100644 --- a/code/profile.lisp +++ b/code/profile.lisp @@ -7,7 +7,7 @@ ;;; Scott Fahlman or slisp-group@cs.cmu.edu. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/profile.lisp,v 1.2 1991/05/06 13:34:09 ram Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/profile.lisp,v 1.3 1992/01/30 17:04:45 ram Exp $") ;;; ;;; ********************************************************************** ;;; @@ -97,7 +97,7 @@ (let* ((function (fdefinition name))) (if (eql (kernel:get-type function) vm:function-header-type) (let ((type (kernel:%function-header-type function))) - (if type + (if (consp type) (let* ((args (cadr type)) (pos (position-if #'(lambda (x) @@ -491,6 +491,7 @@ ;;; (proclaim '(notinline compute-time-overhead-aux)) (defun compute-time-overhead-aux (x) + (declare (optimize (debug-info 2))) ; Make sure we have arglist info... (declare (ignore x))) -- GitLab