From e25262ece9e61a731c7d9e85624d36e7f5a52146 Mon Sep 17 00:00:00 2001
From: wlott <wlott>
Date: Fri, 21 Feb 1992 23:38:42 +0000
Subject: [PATCH] Had the derive-type optimizer for %ALIEN-FUNCALL wrong: it
 returns the alien-rep, not the lisp-rep.

---
 compiler/aliencomp.lisp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/compiler/aliencomp.lisp b/compiler/aliencomp.lisp
index 7f6d7362c..9501110d2 100644
--- a/compiler/aliencomp.lisp
+++ b/compiler/aliencomp.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/aliencomp.lisp,v 1.17 1992/02/19 19:44:18 wlott Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/aliencomp.lisp,v 1.18 1992/02/21 23:38:42 wlott Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -650,7 +650,7 @@
   (let ((type (continuation-value type)))
     (unless (alien-function-type-p type)
       (error "Something is broken."))
-    (make-alien-type-type (alien-function-type-result-type type))))
+    (specifier-type (compute-alien-rep-type type))))
 
 (defoptimizer (%alien-funcall ltn-annotate)
 	      ((function type &rest args) node policy)
-- 
GitLab