From: Chris Hanson Date: Tue, 18 Apr 1989 05:06:06 +0000 (+0000) Subject: It's OK to assume that the GC header of an object passed to X-Git-Tag: 20090517-FFI~12166 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=093dabd38be270c06215ab638f95a34cb2e20985;p=mit-scheme.git It's OK to assume that the GC header of an object passed to `vector-length' contains a zero type code. --- diff --git a/v7/src/compiler/rtlgen/opncod.scm b/v7/src/compiler/rtlgen/opncod.scm index f90a4f923..ac8d09fce 100644 --- a/v7/src/compiler/rtlgen/opncod.scm +++ b/v7/src/compiler/rtlgen/opncod.scm @@ -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)