From ab8717da8bf829d03552372155532e8c2bf89214 Mon Sep 17 00:00:00 2001 From: ram <ram> Date: Thu, 13 May 1993 12:52:31 +0000 Subject: [PATCH] If WHEN not supplied to %DEFTRANSFORM, defaults to :NATIVE, not NIL. --- compiler/knownfun.lisp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/compiler/knownfun.lisp b/compiler/knownfun.lisp index 772e0b96c..e0a566c26 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.19 1993/05/11 13:55:34 ram Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/knownfun.lisp,v 1.20 1993/05/13 12:52:31 ram Exp $") ;;; ;;; ********************************************************************** ;;; @@ -175,7 +175,8 @@ (proclaim '(function %deftransform (t list function &optional (or string null) (member t nil) (member :native :byte :both)))) -(defun %deftransform (name type fun &optional note important when) +(defun %deftransform (name type fun &optional note important + (when :native)) (let* ((ctype (specifier-type type)) (note (or note "optimize")) (info (function-info-or-lose name)) -- GitLab