From b7c934992fbb745bfc84756a37800f3cb2da986f Mon Sep 17 00:00:00 2001 From: ram <ram> Date: Tue, 23 Apr 1991 12:10:56 +0000 Subject: [PATCH] Added Recursive and Explicit-Check attributes, which control compilation of the function's definition. --- compiler/knownfun.lisp | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/compiler/knownfun.lisp b/compiler/knownfun.lisp index c91ebc3be..bfc298f66 100644 --- a/compiler/knownfun.lisp +++ b/compiler/knownfun.lisp @@ -7,7 +7,7 @@ ;;; Scott Fahlman or slisp-group@cs.cmu.edu. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/knownfun.lisp,v 1.8 1991/04/09 17:22:09 ram Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/knownfun.lisp,v 1.9 1991/04/23 12:10:56 ram Exp $") ;;; ;;; ********************************************************************** ;;; @@ -70,8 +70,16 @@ ;; ;; Function is a true predicate likely to be open-coded. Convert any ;; non-conditional uses into (IF <pred> T NIL). - predicate) - + predicate + ;; + ;; Inhibit any warning for compiling a recursive definition. [Normally the + ;; compiler warns when compiling a recursive definition for a known function, + ;; since it might be a botched interpreter stub.] + recursive + ;; + ;; Function does explicit argument type checking, so the declared type should + ;; not be asserted when a definition is compiled. + explicit-check) (defstruct (function-info (:print-function %print-function-info)) -- GitLab