diff --git a/compiler/amd64/cell.lisp b/compiler/amd64/cell.lisp index 224aa8c8b3bf5021941417a7fd86a0dd0e797ffe..f9a78ae80684fd0fab6e78146c87057e7261a9fa 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.