#| -*-Scheme-*-
-$Id: coerce.scm,v 1.1 1996/07/26 14:25:07 adams Exp $
+$Id: coerce.scm,v 1.2 1996/07/26 14:38:01 adams Exp $
Copyright (c) 1996 Massachusetts Institute of Technology
;;;; Coerce-to-compiled-procedure
;;; package: (runtime coerce-to-compiled-procedure)
-;; This file must be syntaxed with teh 8.0 compiler loaded
+;; This file must be syntaxed with the 8.0 compiler loaded
(declare (usual-integrations))
\f
(else (default))))
((2)
(case max
- ((3) (lambda (a1) (f a1 xx)))
- ((4) (lambda (a1) (f a1 xx xx)))
- ((5) (lambda (a1) (f a1 xx xx xx)))
+ ((3) (lambda (a1) (%funcall f a1 xx)))
+ ((4) (lambda (a1) (%funcall f a1 xx xx)))
+ ((5) (lambda (a1) (%funcall f a1 xx xx xx)))
(else (default))))
((3)
(case max
- ((4) (lambda (a1 a2) (f a1 a2 xx)))
- ((5) (lambda (a1 a2) (f a1 a2 xx xx)))
+ ((4) (lambda (a1 a2) (%funcall f a1 a2 xx)))
+ ((5) (lambda (a1 a2) (%funcall f a1 a2 xx xx)))
(else (default))))
((4)
(case max
- ((5) (lambda (a1 a2 a3) (f a1 a2 a3 xx)))
+ ((5) (lambda (a1 a2 a3) (%funcall f a1 a2 a3 xx)))
(else (default))))
(else (default))))
(else;; max >= 128
#| -*-Scheme-*-
-$Id: make.scm,v 14.60 1996/07/23 03:44:03 adams Exp $
+$Id: make.scm,v 14.61 1996/07/26 14:38:26 adams Exp $
Copyright (c) 1988-96 Massachusetts Institute of Technology
(define apply (ucode-primitive apply 2))
+;; So is this definition.
+
+(define coerce-to-compiled-procedure
+ (ucode-primitive coerce-to-compiled-procedure 2))
+
;; This must go before the uses of the-environment later,
;; and after apply above.
("list" . (RUNTIME LIST))
("symbol" . ())
("uproc" . (RUNTIME PROCEDURE))
+ ("coerce" . (RUNTIME COERCE-TO-COMPILED-PROCEDURE))
("fixart" . ())
("random" . (RUNTIME RANDOM-NUMBER))
("gentag" . (RUNTIME GENERIC-PROCEDURE))
'CONSTANT-SPACE/BASE
constant-space/base)
(package-initialize '(RUNTIME LIST) 'INITIALIZE-PACKAGE! true)
+ (package-initialize '(RUNTIME COERCE-TO-COMPILED-PROCEDURE)
+ 'INITIALIZE-PACKAGE! true)
(package-initialize '(RUNTIME RANDOM-NUMBER) 'INITIALIZE-PACKAGE! #t)
(package-initialize '(RUNTIME GENERIC-PROCEDURE) 'INITIALIZE-TAG-CONSTANTS!
#t)
#| -*-Scheme-*-
-$Id: runtime.pkg,v 14.274 1996/07/26 00:36:11 adams Exp $
+$Id: runtime.pkg,v 14.275 1996/07/26 14:38:16 adams Exp $
Copyright (c) 1988-96 Massachusetts Institute of Technology
eqht/for-each
eqht/get
eqht/put!
- make-eqht))
\ No newline at end of file
+ make-eqht))
+
+
+(define-package (runtime coerce-to-compiled-procedure)
+ (files "coerce")
+ (parent ())
+ (export ()
+ coerce-to-compiled-procedure))