From 2290a3ca121b585313712c4ba6341a65259378af Mon Sep 17 00:00:00 2001 From: gerd <gerd> Date: Wed, 30 Apr 2003 07:25:15 +0000 Subject: [PATCH] * src/compiler/ir1tran.lisp (get-defined-function): Remove an assertion. --- compiler/ir1tran.lisp | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/compiler/ir1tran.lisp b/compiler/ir1tran.lisp index b2ed3e85c..1272e120e 100644 --- a/compiler/ir1tran.lisp +++ b/compiler/ir1tran.lisp @@ -5,7 +5,7 @@ ;;; Carnegie Mellon University, and has been placed in the public domain. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/ir1tran.lisp,v 1.148 2003/04/22 15:48:40 gerd Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/ir1tran.lisp,v 1.149 2003/04/30 07:25:15 gerd Exp $") ;;; ;;; ********************************************************************** ;;; @@ -3538,7 +3538,15 @@ (found (find-free-function name "Eh?"))) (note-name-defined name :function) (cond ((not (defined-function-p found)) - (assert (not (info function inlinep name))) + ;; + ;; This assertion is wrong in block compilation mode, for + ;; instance + ;; + ;; (defun foo (x) (bar x)) + ;; (declaim (inline bar)) + ;; (defun bar (x) x) + ;; + ;; (assert (not (info function inlinep name))) (let* ((where-from (leaf-where-from found)) (res (make-defined-function :name name -- GitLab