;;;; While most of SBCL is derived from the CMU CL system, the test
;;;; files (like this one) were written from scratch after the fork
;;;; from CMU CL.
-;;;;
+;;;;
;;;; This software is in the public domain and is provided with
;;;; absolutely no warranty. See the COPYING and CREDITS files for
;;;; more information.
(/show "beginning tests/vm.before-xc.lisp")
(flet ((yes (x)
- (assert
- (eql (sc-number-or-lose 'immediate)
- (impl-of-vm-support-routine-immediate-constant-sc x))))
+ (assert
+ (eql (sc-number-or-lose 'immediate)
+ (immediate-constant-sc x))))
(no (x)
- (assert
- (not (impl-of-vm-support-routine-immediate-constant-sc x)))))
+ (assert
+ (not (immediate-constant-sc x)))))
;; target fixnums can be dealt with as immediates; target bignums
;; can not.
(yes #.sb-xc:most-positive-fixnum)