1.0.16.19: cleanups motivated by clisp host-2
[sbcl.git] / src / compiler / ir1report.lisp
index 0a90d60..f621c93 100644 (file)
@@ -399,10 +399,10 @@ has written, having proved that it is unreachable."))
     (values))
 
   ;; Issue a note when we might or might not be in the compiler.
-  (defun maybe-compiler-notify (&rest rest)
+  (defun maybe-compiler-notify (datum &rest args)
     (if (boundp '*lexenv*) ; if we're in the compiler
-        (apply #'compiler-notify rest)
-        (with-condition (condition (car rest) (cdr rest))
+        (apply #'compiler-notify datum args)
+        (with-condition (condition datum args)
           (let ((stream *error-output*))
             (pprint-logical-block (stream nil :per-line-prefix ";")
               (format stream " note: ~3I~_")