From 79e15b0738ea8d64315ab64cc3cb00472a729b94 Mon Sep 17 00:00:00 2001 From: gerd <gerd> Date: Tue, 15 Jul 2003 19:47:16 +0000 Subject: [PATCH] * src/code/hash-new.lisp (internal-sxhash): Don't fail on interpreted functions. --- code/hash-new.lisp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/code/hash-new.lisp b/code/hash-new.lisp index 851cac32d..c0363581c 100644 --- a/code/hash-new.lisp +++ b/code/hash-new.lisp @@ -5,7 +5,7 @@ ;;; Carnegie Mellon University, and has been placed in the public domain. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/hash-new.lisp,v 1.25 2003/06/18 09:23:11 gerd Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/hash-new.lisp,v 1.26 2003/07/15 19:47:16 gerd Exp $") ;;; ;;; ********************************************************************** ;;; @@ -916,7 +916,11 @@ (internal-sxhash (%class-name (layout-class (%instance-layout s-expr))) depth) (sxhash-instance s-expr))) - (funcallable-instance (sxhash-instance s-expr)) + (funcallable-instance + (if (eval:interpreted-function-p s-expr) + (internal-sxhash (eval:interpreted-function-lambda-expression s-expr) + depth) + (sxhash-instance s-expr))) ;; Other-pointer types. (simple-string (sxhash-simple-string s-expr)) (symbol (sxhash-simple-string (symbol-name s-expr))) -- GitLab