X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fcross-misc.lisp;h=530782a4e9195aa31c595ec7eb03cfc31d19ba2e;hb=de0a47a2f2b165f34177669bd9499135847b4897;hp=0f68d1d3843b4d62a2c102c5a0dc94e71407a0ec;hpb=60a7d6fe1a3005f89973181c065d2bfa8c974e55;p=sbcl.git diff --git a/src/code/cross-misc.lisp b/src/code/cross-misc.lisp index 0f68d1d..530782a 100644 --- a/src/code/cross-misc.lisp +++ b/src/code/cross-misc.lisp @@ -25,10 +25,6 @@ ;;; may then have to wade through some irrelevant warnings). (declaim (declaration inhibit-warnings)) -;;; We sometimes want to enable DX unconditionally in our own code, -;;; but the host can ignore this without harm. -(declaim (declaration sb!c::stack-allocate-dynamic-extent)) - ;;; Interrupt control isn't an issue in the cross-compiler: we don't ;;; use address-dependent (and thus GC-dependent) hashes, and we only ;;; have a single thread of control. @@ -39,6 +35,10 @@ `(progn ,@body))) ,@forms)) +(defmacro with-locked-hash-table ((table) &body body) + (declare (ignore table)) + `(progn ,@body)) + ;;; The GENESIS function works with fasl code which would, in the ;;; target SBCL, work on ANSI-STREAMs (streams which aren't extended ;;; Gray streams). In ANSI Common Lisp, an ANSI-STREAM is just a @@ -150,6 +150,10 @@ (assert (typep array '(simple-array * (*)))) (values array start end 0)) +(defun sb!kernel:%with-array-data/fp (array start end) + (assert (typep array '(simple-array * (*)))) + (values array start end 0)) + (defun sb!kernel:signed-byte-32-p (number) (typep number '(signed-byte 32)))