From d4eef5413f28bd3e176e2334b4f3aa3d23b1b983 Mon Sep 17 00:00:00 2001
From: cwang <cwang>
Date: Thu, 10 Jun 2004 01:39:06 +0000
Subject: [PATCH] Follow the x86 change to symbol format.

---
 compiler/amd64/cell.lisp | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/compiler/amd64/cell.lisp b/compiler/amd64/cell.lisp
index 224aa8c8b..f9a78ae80 100644
--- a/compiler/amd64/cell.lisp
+++ b/compiler/amd64/cell.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/amd64/cell.lisp,v 1.1 2004/05/24 22:34:59 cwang Exp $")
+ "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/amd64/cell.lisp,v 1.2 2004/06/10 01:39:06 cwang Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -139,7 +139,7 @@
   (:translate symbol-hash)
   (:args (symbol :scs (descriptor-reg)))
   (:results (res :scs (any-reg)))
-  (:result-types positive-fixnum)
+  (:result-types tagged-num)
   (:generator 2
     ;; the symbol-hash slot of NIL holds NIL because it is also the cdr
     ;; slot, so we have to strip off the two low bits to make sure it is
@@ -147,6 +147,10 @@
     (loadw res symbol symbol-hash-slot other-pointer-type)
     (inst and res (lognot #b11))))
 
+(define-vop (%set-symbol-hash cell-set)
+  (:translate %set-symbol-hash)
+  (:variant symbol-hash-slot other-pointer-type))
+
 
 ;;;; Fdefinition (fdefn) objects.
 
-- 
GitLab