From 50cfc3962c63afcd97ddc10af7a509d0db333d49 Mon Sep 17 00:00:00 2001 From: wlott <wlott> Date: Tue, 18 Dec 1990 20:45:08 +0000 Subject: [PATCH] Added deftype for structure-index. --- compiler/generic/vm-type.lisp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/compiler/generic/vm-type.lisp b/compiler/generic/vm-type.lisp index da104fe18..1bd7365d2 100644 --- a/compiler/generic/vm-type.lisp +++ b/compiler/generic/vm-type.lisp @@ -7,7 +7,7 @@ ;;; Scott Fahlman (FAHLMAN@CMUC). ;;; ********************************************************************** ;;; -;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/generic/vm-type.lisp,v 1.23 1990/12/02 15:57:04 wlott Exp $ +;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/generic/vm-type.lisp,v 1.24 1990/12/18 20:45:08 wlott Exp $ ;;; ;;; This file contains implementation-dependent parts of the type support ;;; code. This is stuff which deals with the mapping from types defined in @@ -92,6 +92,8 @@ (deftype bignum-type () 'bignum) (deftype bignum-index () 'index) +(deftype structure-index () `(unsigned-byte ,(- vm:word-bits vm:type-bits))) + ;;;; Hooks into type system: -- GitLab