X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fknownfun.lisp;h=c9ec933c472f899a3bfd8a1c7da4ebc301266bb1;hb=ef0891e470ff35840def7a5717ede18a58266e76;hp=f9a0028aff8fecdfd2c4059f946935e37fe8c1b6;hpb=40bff32181a4d9b591ae2bac69bbee3bd77a82bc;p=sbcl.git diff --git a/src/compiler/knownfun.lisp b/src/compiler/knownfun.lisp index f9a0028..c9ec933 100644 --- a/src/compiler/knownfun.lisp +++ b/src/compiler/knownfun.lisp @@ -215,8 +215,7 @@ :derive-type derive-type :optimizer optimizer :destroyed-constant-args destroyed-constant-args - :result-arg result-arg)) - (target-env *info-environment*)) + :result-arg result-arg))) (dolist (name names) (let ((old-fun-info (info :function :info name))) (when old-fun-info @@ -232,10 +231,10 @@ (cerror "Go ahead, overwrite it." "~@" old-fun-info name))) - (setf (info :function :type name target-env) ctype) - (setf (info :function :where-from name target-env) :declared) - (setf (info :function :kind name target-env) :function) - (setf (info :function :info name target-env) info))) + (setf (info :function :type name) ctype) + (setf (info :function :where-from name) :declared) + (setf (info :function :kind name) :function) + (setf (info :function :info name) info))) names) ;;; Return the FUN-INFO for NAME or die trying. Since this is