From 7476a4353cc2ceaf733305638b71892b0f114c97 Mon Sep 17 00:00:00 2001
From: ram <ram>
Date: Mon, 14 Feb 1994 11:46:48 +0000
Subject: [PATCH] Add dummy stubs which signal errors when the IR1 interpreter
 hasn't been loaded yet.

---
 code/eval.lisp | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/code/eval.lisp b/code/eval.lisp
index ad7588e6f..5d63b8ffd 100644
--- a/code/eval.lisp
+++ b/code/eval.lisp
@@ -7,7 +7,7 @@
 ;;; Scott Fahlman or slisp-group@cs.cmu.edu.
 ;;;
 (ext:file-comment
-  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/eval.lisp,v 1.23 1993/08/17 22:32:03 ram Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/eval.lisp,v 1.24 1994/02/14 11:46:48 ram Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -190,6 +190,20 @@
        exp))))
 
 
+;;; Dummy stubs for EVAL:INTERNAL-EVAL and EVAL:MAKE-INTERPRETED-FUNCTION in
+;;; case the compiler isn't loaded yet.
+;;;
+(defun eval:internal-eval (x)
+  (error "Attempt to evaluation a complex expression:~%     ~S~@
+	  This expression must be compiled, but the compiler is not loaded."
+	 x))
+;;;
+(defun eval:make-interpreted-function (x)
+  (error "EVAL called on #'(lambda (x) ...) when the compiler isn't loaded:~
+	  ~%     ~S~%"
+	 x))
+
+
 ;;; INTERPRETED-FUNCTION-P  --  Interface
 ;;;
 ;;;    This is defined here so that the printer &c can call it before the full
-- 
GitLab