about to go away, and these references aren't normally needed.
#| -*-Scheme-*-
-$Id: utils.scm,v 4.29 2004/08/15 04:54:45 cph Exp $
+$Id: utils.scm,v 4.30 2006/09/08 14:38:45 cph Exp $
Copyright 1986,1987,1988,1989,1990,1992 Massachusetts Institute of Technology
-Copyright 1994,2001,2001,2003,2004 Massachusetts Institute of Technology
+Copyright 1994,2001,2001,2003,2004,2006 Massachusetts Institute of Technology
This file is part of MIT/GNU Scheme.
(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)))
+ (object-type? (ucode-type manifest-nm-vector) object)))
(define (object-immutable? object)
(or (non-pointer-object? object)
#| -*-Scheme-*-
-$Id: global.scm,v 14.72 2004/11/19 07:14:30 cph Exp $
+$Id: global.scm,v 14.73 2006/09/08 14:39:12 cph Exp $
Copyright 1988,1989,1991,1992,1993,1995 Massachusetts Institute of Technology
-Copyright 1998,2000,2001,2003,2004 Massachusetts Institute of Technology
+Copyright 1998,2000,2001,2003,2004,2006 Massachusetts Institute of Technology
This file is part of MIT/GNU Scheme.
((NON-POINTER) #t)
((GC-INTERNAL)
(or (object-type? (ucode-type manifest-nm-vector) object)
- (object-type? (ucode-type manifest-special-nm-vector) object)
(and (object-type? (ucode-type reference-trap) object)
(<= (object-datum object) trap-max-immediate))))
(else #f)))
(define (non-pointer-type-code? code)
(case (type-code->gc-type code)
((NON-POINTER) #t)
- ((GC-INTERNAL)
- (or (fix:= (ucode-type manifest-nm-vector) code)
- (fix:= (ucode-type manifest-special-nm-vector) code)))
+ ((GC-INTERNAL) (fix:= (ucode-type manifest-nm-vector) code))
(else #f)))
(define (pointer-type-code? code)
#| -*-Scheme-*-
-$Id: hash.scm,v 14.9 2004/10/01 17:04:58 cph Exp $
+$Id: hash.scm,v 14.10 2006/09/08 14:39:19 cph Exp $
Copyright 1986,1987,1988,1989,1991,1993 Massachusetts Institute of Technology
-Copyright 2004 Massachusetts Institute of Technology
+Copyright 2004,2006 Massachusetts Institute of Technology
This file is part of MIT/GNU Scheme.
;;; In order to make the hash and unhash tables weakly hold the
;;; objects hashed, the following mechanism is used:
-;;; The hash table, a vector, has a SNMV header before all the
+;;; The hash table, a vector, has a NMV header before all the
;;; buckets, and therefore the garbage collector will skip it and will
;;; not relocate its buckets. It becomes invalid after a garbage
;;; collection and the first thing the daemon does is clear it. Each
(vector-set! table
0
((ucode-primitive primitive-object-set-type)
- (ucode-type manifest-special-nm-vector)
+ (ucode-type manifest-nm-vector)
(make-non-pointer-object size)))
((ucode-primitive primitive-object-set-type)
(ucode-type non-marked-vector)
#| -*-Scheme-*-
-$Id: unpars.scm,v 14.65 2006/03/02 20:53:02 cph Exp $
+$Id: unpars.scm,v 14.66 2006/09/08 14:39:25 cph Exp $
Copyright 1986,1987,1990,1991,1992,1995 Massachusetts Institute of Technology
Copyright 1996,2001,2002,2003,2004,2005 Massachusetts Institute of Technology
(define (safe-vector-ref vector index)
(if (with-absolutely-no-interrupts
(lambda ()
- (or (object-type? (ucode-type manifest-nm-vector)
- (vector-ref vector index))
- (object-type? (ucode-type manifest-special-nm-vector)
- (vector-ref vector index)))))
+ (object-type? (ucode-type manifest-nm-vector)
+ (vector-ref vector index))))
(error "Attempt to unparse partially marked vector."))
(map-reference-trap (lambda () (vector-ref vector index))))