It's OK to assume that the GC header of an object passed to
authorChris Hanson <org/chris-hanson/cph>
Tue, 18 Apr 1989 05:06:06 +0000 (05:06 +0000)
committerChris Hanson <org/chris-hanson/cph>
Tue, 18 Apr 1989 05:06:06 +0000 (05:06 +0000)
`vector-length' contains a zero type code.

v7/src/compiler/rtlgen/opncod.scm

index f90a4f92313fdb90c6a0b9961671c2bd1294767d..ac8d09fce57d46754497ef7a30917278e96fdcb4 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/compiler/rtlgen/opncod.scm,v 4.28 1989/03/29 04:14:08 jinx Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/compiler/rtlgen/opncod.scm,v 4.29 1989/04/18 05:06:06 cph Rel $
 
 Copyright (c) 1988, 1989 Massachusetts Institute of Technology
 
@@ -542,7 +542,7 @@ MIT in each case. |#
         (lambda (name make-fetch type index)
           (standard-def name (make-fixed-ref name make-fetch type index)))))
     (user-ref 'CELL-CONTENTS rtl:make-fetch (ucode-type cell) 0)
-    (user-ref 'VECTOR-LENGTH rtl:vector-length-fetch (ucode-type vector) 0)
+    (user-ref 'VECTOR-LENGTH rtl:length-fetch (ucode-type vector) 0)
     (user-ref 'STRING-LENGTH rtl:length-fetch (ucode-type string) 1)
     (user-ref 'BIT-STRING-LENGTH rtl:length-fetch (ucode-type vector-1b) 1)
     (user-ref 'SYSTEM-PAIR-CAR rtl:make-fetch false 0)