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

Don't do assumed function stuff if we have a :NOTINLINE function. This

was breaking an assertion.
parent 3ed7d730
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu. ;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;; ;;;
(ext:file-comment (ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/ir1final.lisp,v 1.17 1992/12/09 00:10:25 ram Exp $") "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/ir1final.lisp,v 1.18 1993/05/02 14:55:20 ram Exp $")
;;; ;;;
;;; ********************************************************************** ;;; **********************************************************************
;;; ;;;
...@@ -99,7 +99,9 @@ ...@@ -99,7 +99,9 @@
;;; possible information about the actual argument types. ;;; possible information about the actual argument types.
;;; ;;;
(defun note-assumed-types (component name var) (defun note-assumed-types (component name var)
(when (eq (leaf-where-from var) :assumed) (when (and (eq (leaf-where-from var) :assumed)
(not (and (defined-function-p var)
(eq (defined-function-inlinep var) :notinline))))
(assert (and (eq (info function where-from name) :assumed) (assert (and (eq (info function where-from name) :assumed)
(eq (info function kind name) :function))) (eq (info function kind name) :function)))
(let ((atype (info function assumed-type name))) (let ((atype (info function assumed-type name)))
......
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