Raymond Toy pushed to branch issue-243-weak-pointer-to-static-array at cmucl / cmucl
Commits: 1b0121ea by Raymond Toy at 2024-02-19T09:17:53-08:00 Add comment about where STATIC_VECTOR_HEADER_BIT is
I sometimes forget that `STATIC_VECTOR_HEADER_BIT` is relative to the header value, not the actual header. Make it a bit clearer where this bit is.
- - - - -
1 changed file:
- src/lisp/gencgc.c
Changes:
===================================== src/lisp/gencgc.c ===================================== @@ -34,7 +34,8 @@
/* * If the header value for a vector has this bit set, then it is a - * static vector. + * static vector. NOTE: This is a bit in the header value of a + * header, NOT the bit in the full header! */ #define STATIC_VECTOR_HEADER_BIT 0x1
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/1b0121ea2b6f3ac906ca80db...