From 7f1f0b3b3baf777ee5e8438507467f83291008a7 Mon Sep 17 00:00:00 2001 From: "Taylor R. Campbell" Date: Mon, 2 Feb 2009 15:33:38 +0000 Subject: [PATCH] When testing for combinations of NOT and GENERAL-CAR-CDR, refer to the primitives, not to the values of the top-level variables by those names. --- v7/src/compiler/fggen/fggen.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/v7/src/compiler/fggen/fggen.scm b/v7/src/compiler/fggen/fggen.scm index 0584b86cb..c1644924f 100644 --- a/v7/src/compiler/fggen/fggen.scm +++ b/v7/src/compiler/fggen/fggen.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: fggen.scm,v 4.45 2008/02/14 02:12:14 cph Exp $ +$Id: fggen.scm,v 4.46 2009/02/02 15:33:38 riastradh Exp $ Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, @@ -575,11 +575,11 @@ USA. (define (generate/combination block continuation context expression) (scode/combination-components expression (lambda (operator operands) - (cond ((eq? not operator) + (cond ((eq? (ucode-primitive not) operator) (generate/conditional block continuation context (scode/make-conditional (car operands) #F #T))) - ((and (eq? general-car-cdr operator) + ((and (eq? (ucode-primitive general-car-cdr) operator) (let ((n (cadr operands))) (and (exact-integer? n) (positive? n)))) -- 2.25.1