Fix a non-gencgc build failure in UNSAFE-CLEAR-ROOTS
authorPaul Khuong <pvk@pvk.ca>
Fri, 8 Jul 2011 17:04:07 +0000 (13:04 -0400)
committerPaul Khuong <pvk@pvk.ca>
Fri, 8 Jul 2011 17:04:07 +0000 (13:04 -0400)
 Introduced in 4084b6b9 (armload of DEFINE-HASH-CACHE changes).

src/code/gc.lisp

index fb4a0e1..5ea3669 100644 (file)
@@ -317,6 +317,7 @@ NIL as the pathname."
 (define-alien-routine scrub-control-stack sb!alien:void)
 
 (defun unsafe-clear-roots (gen)
+  #!-gencgc (declare (ignore gen))
   ;; KLUDGE: Do things in an attempt to get rid of extra roots. Unsafe
   ;; as having these cons more then we have space left leads to huge
   ;; badness.