From eb9c7b9114b00cd9d780bf22644f8df78a220bb1 Mon Sep 17 00:00:00 2001
From: ram <ram>
Date: Sun, 23 Feb 1992 17:39:43 +0000
Subject: [PATCH] Added an assertion that we don't join components with random
 kinds.

---
 compiler/dfo.lisp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/compiler/dfo.lisp b/compiler/dfo.lisp
index c1a0a67cf..5a1682146 100644
--- a/compiler/dfo.lisp
+++ b/compiler/dfo.lisp
@@ -7,7 +7,7 @@
 ;;; Scott Fahlman or slisp-group@cs.cmu.edu.
 ;;;
 (ext:file-comment
-  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/dfo.lisp,v 1.20 1992/02/12 19:20:12 ram Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/dfo.lisp,v 1.21 1992/02/23 17:39:43 ram Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -56,6 +56,7 @@
 ;;;
 (proclaim '(function join-components (component component) void))
 (defun join-components (new old)
+  (assert (and (eq (component-kind new) nil) (eq (component-kind old) nil)))
   (let ((old-head (component-head old))
 	(old-tail (component-tail old))
 	(head (component-head new))
-- 
GitLab