From 87a17f9ae4d8a318a34607a1ca2720143ad5e720 Mon Sep 17 00:00:00 2001 From: wlott <wlott> Date: Sun, 13 Dec 1992 15:12:24 +0000 Subject: [PATCH] Changed the make-closure vop to take the length as an info argument because it is always known at compile time. Changed the set vop to not have a result because we don't want it. --- compiler/ir2tran.lisp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/compiler/ir2tran.lisp b/compiler/ir2tran.lisp index dd6fff1b1..0b6526c2d 100644 --- a/compiler/ir2tran.lisp +++ b/compiler/ir2tran.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/ir2tran.lisp,v 1.44 1992/07/14 17:51:16 ram Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/ir2tran.lisp,v 1.45 1992/12/13 15:12:24 wlott Exp $") ;;; ;;; ********************************************************************** ;;; @@ -201,8 +201,7 @@ nil)))) (cond (closure (let ((this-env (node-environment node))) - (vop make-closure node block (emit-constant (length closure)) - entry res) + (vop make-closure node block entry (length closure) res) (loop for what in closure and n from 0 do (unless (and (lambda-var-p what) (null (leaf-refs what))) @@ -242,8 +241,7 @@ (ecase (global-var-kind leaf) ((:special :global) (assert (symbolp (leaf-name leaf))) - (vop set node block (emit-constant (leaf-name leaf)) val - (make-normal-tn (backend-any-primitive-type *backend*))))))) + (vop set node block (emit-constant (leaf-name leaf)) val))))) (when locs (emit-move node block val (first locs)) -- GitLab