X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Ftarget-eval.lisp;h=3d6a7278baa99f7db68dbf944d9c059b30dc4c64;hb=4cf50b1896b25f5337e7c258b0b560da00d47993;hp=8345ec774a61f0392ee4067117a49d0f7ef30a51;hpb=95a6db7329b91dd90d165dd4057b9b5098d34aa2;p=sbcl.git diff --git a/src/code/target-eval.lisp b/src/code/target-eval.lisp index 8345ec7..3d6a727 100644 --- a/src/code/target-eval.lisp +++ b/src/code/target-eval.lisp @@ -7,28 +7,6 @@ ;;;; provided with absolutely no warranty. See the COPYING and CREDITS ;;;; files for more information. -(in-package "SB!IMPL") - -;;; FIXME: These probably belong in some package other than SB!IMPL. -;;; Perhaps SB!KERNEL? - -(defconstant call-arguments-limit most-positive-fixnum - #!+sb-doc - "The exclusive upper bound on the number of arguments which may be passed - to a function, including rest args.") - -(defconstant lambda-parameters-limit most-positive-fixnum - #!+sb-doc - "The exclusive upper bound on the number of parameters which may be specifed - in a given lambda list. This is actually the limit on required and optional - parameters. With &key and &aux you can get more.") - -(defconstant multiple-values-limit most-positive-fixnum - #!+sb-doc - "The exclusive upper bound on the number of multiple-values that you can - have.") - -;;; FIXME: more than one IN-PACKAGE in one file, ick (in-package "SB!EVAL") ;;; This is defined here so that the printer etc. can call @@ -84,7 +62,7 @@ ;;;; debuggable macros anyway). In that environment, a stub no-op version of ;;;; this function is used. (defun try-to-rename-interpreted-function-as-macro (f name lambda-list) - (assert (sb!eval:interpreted-function-p f)) + (aver (sb!eval:interpreted-function-p f)) (setf (sb!eval:interpreted-function-name f) (format nil "DEFMACRO ~S" name) (sb!eval:interpreted-function-arglist f) @@ -103,7 +81,7 @@ ;;; EVAL-WHEN. (defun eval (original-exp) #!+sb-doc - "Evaluates its single arg in a null lexical environment, returns the + "Evaluates its single argument in a null lexical environment, returns the result or results." (declare (optimize (safety 1))) (let ((exp (macroexpand original-exp)))