(defun sb!xc:deposit-field (new cross-byte int)
(cl:deposit-field new (uncross-byte cross-byte) int))
-(defun sb!c::mask-signed-field (size integer)
- (if (logbitp (1- size) integer)
- (dpb integer (byte size 0) -1)
- (ldb (byte size 0) integer)))
-
(define-setf-expander sb!xc:ldb (cross-byte int &environment env)
(multiple-value-bind (temps vals stores store-form access-form)
(get-setf-expansion int env)
;; See comment in interr.lisp
*heap-exhausted-error-condition* (make-condition 'heap-exhausted-error)))
-(declaim (ftype (function () unsigned-byte) get-bytes-consed))
+(declaim (ftype (sfunction () unsigned-byte) get-bytes-consed))
(defun get-bytes-consed ()
#!+sb-doc
"Return the number of bytes consed since the program began. Typically
(macrolet ((def (name lambda-list ref &optional set)
`(defun ,name (,@lambda-list old new)
#!+compare-and-swap-vops
+ (declare (ignore ref set))
+ #!+compare-and-swap-vops
(,name ,@lambda-list old new)
#!-compare-and-swap-vops
(let ((current (,ref ,@lambda-list)))
(type (pathname-type pathname))
(type-present-p (typep type '(not (member nil :unspecific))))
(type-string (if type-present-p type "")))
- (when name-present-p
- (setf as-file nil))
(coerce
(with-output-to-string (s)
(when device
;;; available, switch back to the normal one to give other transforms
;;; a stab at it.
(macrolet ((define (name transform-to extra extra-type)
+ (declare (ignore extra-type))
`(deftransform ,name ((array index ,@extra))
(let ((type (lvar-type array))
(element-type (extract-upgraded-element-type array)))
(values))
;; Issue a note when we might or might not be in the compiler.
- (defun maybe-compiler-notify (&rest rest)
+ (defun maybe-compiler-notify (datum &rest args)
(if (boundp '*lexenv*) ; if we're in the compiler
- (apply #'compiler-notify rest)
- (with-condition (condition (car rest) (cdr rest))
+ (apply #'compiler-notify datum args)
+ (with-condition (condition datum args)
(let ((stream *error-output*))
(pprint-logical-block (stream nil :per-line-prefix ";")
(format stream " note: ~3I~_")
;;; checkins which aren't released. (And occasionally for internal
;;; versions, especially for internal versions off the main CVS
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.16.18"
+"1.0.16.19"