X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fgeneric%2Fobjdef.lisp;h=590d146c297a1b8d710b15889f2ffcb3db27f9b0;hb=1e9966d5f24709d227e20911b4e1ddd27c87a00e;hp=5228849ca98d2f16176094642dcb1cf5606d8d60;hpb=21c2b080d512e218485a3969b773bea62a50b73d;p=sbcl.git diff --git a/src/compiler/generic/objdef.lisp b/src/compiler/generic/objdef.lisp index 5228849..590d146 100644 --- a/src/compiler/generic/objdef.lisp +++ b/src/compiler/generic/objdef.lisp @@ -96,6 +96,8 @@ (define-primitive-object (array :lowtag other-pointer-lowtag :widetag t) + ;; FILL-POINTER of an ARRAY is in the same place as LENGTH of a + ;; VECTOR -- see SHRINK-VECTOR. (fill-pointer :type index :ref-trans %array-fill-pointer :ref-known (flushable foldable) @@ -131,6 +133,8 @@ (define-primitive-object (vector :type vector :lowtag other-pointer-lowtag :widetag t) + ;; FILL-POINTER of an ARRAY is in the same place as LENGTH of a + ;; VECTOR -- see SHRINK-VECTOR. (length :ref-trans sb!c::vector-length :type index) (data :rest-p t :c-type #!-alpha "unsigned long" #!+alpha "u32")) @@ -380,6 +384,7 @@ (tls-cookie) ; on x86, the LDT index (this :c-type "struct thread *" :length #!+alpha 2 #!-alpha 1) (next :c-type "struct thread *" :length #!+alpha 2 #!-alpha 1) + (state) ; running, stopping, stopped #!+x86 (pseudo-atomic-atomic) #!+x86 (pseudo-atomic-interrupted) (interrupt-data :c-type "struct interrupt_data *"