#| -*-Scheme-*-
-$Id: laterew.scm,v 1.12 1995/08/19 02:02:57 adams Exp $
+$Id: laterew.scm,v 1.13 1995/08/19 15:30:43 adams Exp $
Copyright (c) 1994-1995 Massachusetts Institute of Technology
(let ((not-primitive (make-primitive-procedure 'NOT)))
(define-rewrite/late not-primitive
- (lambda (rands)
+ (lambda (form rands)
(let ((cont (first rands))
(x (second rands))
(more? (not (null? (cddr rands)))))
`(CALL (QUOTE ,not-primitive) ,cont ,@rands))))))
\f
(define-rewrite/late %make-multicell
- (lambda (rands)
+ (lambda (form rands)
(let ((cont (first rands))
(layout (second rands))
(values (cddr rands)))
(laterew/multicell-operation cont layout name 'MAKE #F values)))))
(define-rewrite/late %multicell-ref
- (lambda (rands)
+ (lambda (form rands)
(let ((cont (first rands))
(cell (second rands))
(layout (third rands))
(laterew/multicell-operation cont layout name 'READ cell #F))))
(define-rewrite/late %multicell-set!
- (lambda (rands)
+ (lambda (form rands)
(let ((cont (first rands))
(cell (second rands))
(value (third rands))
\f
(define-rewrite/late %vector-check
(let ((vector-tag (machine-tag 'VECTOR)))
- (lambda (rands)
+ (lambda (form rands)
(let ((cont (first rands))
(vec (second rands))
(index (third rands)))
'#F)))))
(define-rewrite/late %vector-check/index
- (lambda (rands)
+ (lambda (form rands)
(let ((cont (first rands))
(vec (second rands))
(index (third rands)))