summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sb-eval2.lisp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sb-eval2.lisp b/sb-eval2.lisp
index 67e6207..5274c5a 100644
--- a/sb-eval2.lisp
+++ b/sb-eval2.lisp
@@ -10,6 +10,8 @@
(defconstant +stack-max+ 8)
+(defvar *mode* :not-compile-time)
+
(defmacro specialize (var value possible-values &body body)
`(ecase ,value
,@(loop for x in (cl:eval possible-values)
@@ -742,8 +744,6 @@
(when (globally-constant-p var)
(warn "~S is a constant and thus can't be set." var)))
-(defvar *mode* :not-compile-time)
-
(declaim (ftype (function (* context &optional symbol) eval-closure) prepare-form))
(defun prepare-form (form context &optional (mode *mode*) &aux (*mode* :execute))
;;(declare (optimize speed (safety 0) (space 1) (debug 0)))