projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Stop (describe (make-instance 'generic-function)) from crashing.
[sbcl.git]
/
src
/
runtime
/
gc-internal.h
diff --git
a/src/runtime/gc-internal.h
b/src/runtime/gc-internal.h
index
c23febf
..
b916396
100644
(file)
--- a/
src/runtime/gc-internal.h
+++ b/
src/runtime/gc-internal.h
@@
-79,7
+79,9
@@
NWORDS(uword_t x, uword_t n_bits)
#define FUN_RAW_ADDR_OFFSET (offsetof(struct simple_fun, code) - FUN_POINTER_LOWTAG)
#endif
#define FUN_RAW_ADDR_OFFSET (offsetof(struct simple_fun, code) - FUN_POINTER_LOWTAG)
#endif
-/* values for the *_alloc_* parameters */
+/* values for the *_alloc_* parameters, also see the commentary for
+ * struct page in gencgc-internal.h. FIXME: Perhaps these constants
+ * should be there, or at least defined on gencgc only? */
#define FREE_PAGE_FLAG 0
#define BOXED_PAGE_FLAG 1
#define UNBOXED_PAGE_FLAG 2
#define FREE_PAGE_FLAG 0
#define BOXED_PAGE_FLAG 1
#define UNBOXED_PAGE_FLAG 2