Skip to content
Snippets Groups Projects
Commit e2ac9f9f authored by ram's avatar ram
Browse files

In FINALIZE-XEP-DEFINITION, if not the current global definition, just leave

the defined type alone, instead of clobbering it with FUNCTION.  A benefit of
this is that COMPILE doesn't trash the function type.
parent 58cc0d92
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
(ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/ir1final.lisp,v 1.16 1992/09/24 18:32:47 ram Exp $")
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/ir1final.lisp,v 1.17 1992/12/09 00:10:25 ram Exp $")
;;;
;;; **********************************************************************
;;;
......@@ -87,8 +87,8 @@
(setf (info function where-from name) :defined))
(:declared); Just keep declared type.
(:defined
(setf (info function type name)
(if global-p dtype (specifier-type 'function))))))))
(when global-p
(setf (info function type name) dtype)))))))
(undefined-value))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment