From 3b19341827520c26e2e1efca5875a32606b32657 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Sun, 15 Aug 2004 04:54:45 +0000 Subject: [PATCH] Revert change to NON-POINTER-OBJECT?. The resulting code doesn't work properly on win32 for some reason. --- v7/src/compiler/base/utils.scm | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/v7/src/compiler/base/utils.scm b/v7/src/compiler/base/utils.scm index a0fc4af15..6e70c9383 100644 --- a/v7/src/compiler/base/utils.scm +++ b/v7/src/compiler/base/utils.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: utils.scm,v 4.28 2004/07/02 00:51:53 cph Exp $ +$Id: utils.scm,v 4.29 2004/08/15 04:54:45 cph Exp $ Copyright 1986,1987,1988,1989,1990,1992 Massachusetts Institute of Technology Copyright 1994,2001,2001,2003,2004 Massachusetts Institute of Technology @@ -186,11 +186,20 @@ USA. (define-integrable lambda-tag:delay '|#[delay-lambda]|) -(define-integrable non-pointer-object? - object-non-pointer?) +(define (non-pointer-object? object) + ;; Use of OBJECT-NON-POINTER? appears to cause problems. + ;; This should be figured out when I have more time. -- cph + (or (object-type? (ucode-type false) object) + (object-type? (ucode-type true) object) + (fix:fixnum? object) + (object-type? (ucode-type character) object) + (object-type? (ucode-type unassigned) object) + (object-type? (ucode-type the-environment) object) + (object-type? (ucode-type manifest-nm-vector) object) + (object-type? (ucode-type manifest-special-nm-vector) object))) (define (object-immutable? object) - (or (object-non-pointer? object) + (or (non-pointer-object? object) (number? object) (symbol? object) (scode/primitive-procedure? object) -- 2.25.1