From bfae6d94f21e96877efa43f391cb704e8c6b38e9 Mon Sep 17 00:00:00 2001
From: ram <ram>
Date: Fri, 12 Mar 1993 15:36:29 +0000
Subject: [PATCH] Add FIN-FUNCTION

---
 compiler/ir1tran.lisp | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/compiler/ir1tran.lisp b/compiler/ir1tran.lisp
index 8347a2fbc..a1973ba17 100644
--- a/compiler/ir1tran.lisp
+++ b/compiler/ir1tran.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/ir1tran.lisp,v 1.84 1993/02/26 08:38:35 ram Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/ir1tran.lisp,v 1.85 1993/03/12 15:36:29 ram Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -2390,6 +2390,11 @@
 		  thing "as the argument to FUNCTION")))
 	(reference-leaf start cont var))))
 
+(def-ir1-translator fin-function ((thing) start cont)
+  (let ((res (ir1-convert-lambda thing nil 'function)))
+    (setf (getf (functional-plist res) :fin-function) t)
+    (reference-leaf start cont res)))
+
 
 ;;;; Funcall:
 ;;;
-- 
GitLab