X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fgeneric%2Fvm-fndb.lisp;h=12d83fa57ea5e3c8cb2e0aa82e5d78f7c8fe5bb4;hb=ad1aa2961d81ed8db9dac59068c6861199c29a3a;hp=2d50d2a2d46d367bd796853eb2a6dc2ffd8ef4e6;hpb=29a9ccc860532b32c566aec095f570e999a9c52c;p=sbcl.git diff --git a/src/compiler/generic/vm-fndb.lisp b/src/compiler/generic/vm-fndb.lisp index 2d50d2a..12d83fa 100644 --- a/src/compiler/generic/vm-fndb.lisp +++ b/src/compiler/generic/vm-fndb.lisp @@ -179,19 +179,19 @@ ;;;; bignum operations -(defknown %allocate-bignum (bignum-index) bignum-widetag +(defknown %allocate-bignum (bignum-index) bignum-type (flushable)) -(defknown %bignum-length (bignum-widetag) bignum-index +(defknown %bignum-length (bignum-type) bignum-index (foldable flushable movable)) -(defknown %bignum-set-length (bignum-widetag bignum-index) bignum-widetag +(defknown %bignum-set-length (bignum-type bignum-index) bignum-type (unsafe)) -(defknown %bignum-ref (bignum-widetag bignum-index) bignum-element-type +(defknown %bignum-ref (bignum-type bignum-index) bignum-element-type (flushable)) -(defknown %bignum-set (bignum-widetag bignum-index bignum-element-type) +(defknown %bignum-set (bignum-type bignum-index bignum-element-type) bignum-element-type (unsafe)) @@ -306,3 +306,7 @@ ;;;; mutator accessors (defknown mutator-self () system-area-pointer (flushable movable)) + +(defknown %data-vector-and-index (array index) + (values (simple-array * (*)) index) + (foldable flushable))