* Tested on PPC/Darwin.
lispobj
alloc_code_object (unsigned boxed, unsigned unboxed) {
struct code * code;
- unsigned size;
boxed = make_fixnum(boxed + 1 + 4); /* 4 == trace_table_offset offset in words */
boxed &= ~LOWTAG_MASK;
+/*
+ * This software is part of the SBCL system. See the README file for
+ * more information.
+ *
+ * This software is derived from the CMU CL system, which was
+ * written at Carnegie Mellon University and released into the
+ * public domain. The software is in the public domain and is
+ * provided with absolutely no warranty. See the COPYING and CREDITS
+ * files for more information.
+ */
+
+#include "os.h" /* for os_context_t */
+
extern lispobj *from_space;
extern lispobj *from_space_free_pointer;
}
-static void *
+void *
gc_general_alloc(long bytes, int page_type_flag, int quick_p) {
lispobj *new=new_space_free_pointer;
new_space_free_pointer+=(bytes/N_WORD_BYTES);
return gc_alloc_with_region(nbytes, page_type_flag, my_region, quick_p);
}
#else
-void *gc_general_alloc(long nbytes,int page_type_flag,int quick_p);
+extern void *gc_general_alloc(long nbytes,int page_type_flag,int quick_p);
#endif
extern long (*scavtab[256])(lispobj *where, lispobj object);
;;; checkins which aren't released. (And occasionally for internal
;;; versions, especially for internal versions off the main CVS
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.23.13"
+"1.0.23.14"