From 1d600dc6550b552f80cd7f8ad7469af1663dbece Mon Sep 17 00:00:00 2001
From: dtc <dtc>
Date: Tue, 4 Nov 1997 14:47:32 +0000
Subject: [PATCH] Compile hash-new and build it into the core given the
 :hash-new feature.

---
 tools/worldbuild.lisp | 6 ++++--
 tools/worldcom.lisp   | 6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/tools/worldbuild.lisp b/tools/worldbuild.lisp
index 1c6b0ee65..8e68ddec6 100644
--- a/tools/worldbuild.lisp
+++ b/tools/worldbuild.lisp
@@ -7,7 +7,7 @@
 ;;; Scott Fahlman or slisp-group@cs.cmu.edu.
 ;;;
 (ext:file-comment
-  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/tools/worldbuild.lisp,v 1.36 1997/09/24 06:19:06 dtc Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/tools/worldbuild.lisp,v 1.37 1997/11/04 14:47:32 dtc Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -89,7 +89,9 @@
     "target:code/irrat"
     "target:code/bignum"
     "target:code/list"
-    "target:code/hash"
+    ,@(if (c:backend-featurep :hash-new)
+	'("target:code/hash-new")
+	'("target:code/hash"))
     "target:code/macros"
     "target:code/symbol"
     "target:code/string"
diff --git a/tools/worldcom.lisp b/tools/worldcom.lisp
index 2d1518e24..245d1bf1e 100644
--- a/tools/worldcom.lisp
+++ b/tools/worldcom.lisp
@@ -7,7 +7,7 @@
 ;;; Scott Fahlman or slisp-group@cs.cmu.edu.
 ;;;
 (ext:file-comment
-  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/tools/worldcom.lisp,v 1.73 1997/09/24 06:19:05 dtc Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/tools/worldcom.lisp,v 1.74 1997/11/04 14:47:31 dtc Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -125,7 +125,9 @@
 (comf "target:code/bit-bash")
 (comf "target:code/byte-interp")
 (comf "target:code/array")
-(comf "target:code/hash")
+(if (c:backend-featurep :hash-new)
+    (comf "target:code/hash-new")
+    (comf "target:code/hash"))
 
 (with-compilation-unit
   (:optimize '(optimize (safety 1)))
-- 
GitLab