From d294cad4abbd7773e800060678962e8379d87443 Mon Sep 17 00:00:00 2001 From: toy <toy> Date: Fri, 1 Jun 2001 12:51:56 +0000 Subject: [PATCH] Update deftransform for alien-sap: o Convert refs to alien-value-sap o Add a message when we can't optimize ALIEN-SAP away --- compiler/aliencomp.lisp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/compiler/aliencomp.lisp b/compiler/aliencomp.lisp index 4e73c0acf..cf1ba0102 100644 --- a/compiler/aliencomp.lisp +++ b/compiler/aliencomp.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/compiler/aliencomp.lisp,v 1.25 2000/10/23 16:06:53 dtc Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/aliencomp.lisp,v 1.26 2001/06/01 12:51:56 toy Exp $") ;;; ;;; ********************************************************************** ;;; @@ -487,8 +487,10 @@ '(lambda (sap type) (declare (ignore type)) sap)) + (ref + `(alien::alien-value-sap alien)) (t - (give-up))))) + (give-up "Could not optimize away ALIEN-SAP"))))) (defoptimizer (%sap-alien derive-type) ((sap type)) (declare (ignore sap)) -- GitLab