X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fsymbol.lisp;h=437e199532a842105f000091ae3239d03f2393d6;hb=d68f3f83e6c5b9bed9789279cbae346f240488cc;hp=a32c85576813025bd613ca8b4cd1b9b8646e75d0;hpb=b6aa15328871678a3475e82c150b251dffb49ba1;p=sbcl.git diff --git a/src/code/symbol.lisp b/src/code/symbol.lisp index a32c855..437e199 100644 --- a/src/code/symbol.lisp +++ b/src/code/symbol.lisp @@ -48,12 +48,19 @@ symbol) ;;; Return the built-in hash value for SYMBOL. -#!+(or x86 mips) ;; only backends for which a symbol-hash vop exists + +;;; only backends for which a SYMBOL-HASH vop exists. In the past, +;;; when the MIPS backend supported (or nearly did) a generational +;;; (non-conservative) garbage collector, this read (OR X86 MIPS). +;;; Having excised the vestigial support for GENGC, this now only +;;; applies for the x86 port, but if someone were to rework the GENGC +;;; support, this might change again. -- CSR, 2002-08-26 +#!+x86 (defun symbol-hash (symbol) (symbol-hash symbol)) ;;; Compute the hash value for SYMBOL. -#!-(or x86 mips) +#!-x86 (defun symbol-hash (symbol) (%sxhash-simple-string (symbol-name symbol)))