#| -*-Scheme-*-
-$Id: rules2.scm,v 1.9 2007/01/05 21:19:20 cph Exp $
+$Id: rules2.scm,v 1.10 2007/06/18 17:31:04 cph Exp $
Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
(define-rule predicate
;; Branch if virtual register contains a legal index fixnum
- (PRED-1-ARG INDEX-FIXNUM?
- (REGISTER (? source)))
- (let ((source (standard-source! source 'ULONG)))
+ (PRED-1-ARG INDEX-FIXNUM? (REGISTER (? source)))
+ (let ((source (standard-source! source 'SCHEME_OBJECT)))
(branch-on-expr (c:ecall "INDEX_FIXNUM_P" source))))
(define (eq-test/constant constant source)
#| -*-Scheme-*-
-$Id: opncod.scm,v 4.80 2007/04/14 22:00:09 riastradh Exp $
+$Id: opncod.scm,v 4.81 2007/06/18 17:31:05 cph Exp $
Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
(make-true-pcfg)
(make-false-pcfg)))
(pcfg/prefer-consequent!
- (rtl:make-pred-1-arg
- 'INDEX-FIXNUM?
- (rtl:make-object->fixnum expression)))))
+ (rtl:make-pred-1-arg 'INDEX-FIXNUM? expression))))
\f
;;;; Indexed Memory References