From 175d46826f8b24b7ead44a363af2e80981873dce Mon Sep 17 00:00:00 2001 From: wlott <wlott> Date: Sat, 10 Nov 1990 18:43:30 +0000 Subject: [PATCH] Make make-array-header translate make-array-header now that it is a known function. --- compiler/mips/array.lisp | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/compiler/mips/array.lisp b/compiler/mips/array.lisp index b16a11bd8..19bb6f6b5 100644 --- a/compiler/mips/array.lisp +++ b/compiler/mips/array.lisp @@ -1,4 +1,4 @@ -;;; -*- Package: C; Log: C.Log -*- +;;; -*- Package: MIPS -*- ;;; ;;; ********************************************************************** ;;; This code was written as part of the Spice Lisp project at @@ -7,7 +7,7 @@ ;;; Scott Fahlman (FAHLMAN@CMUC). ;;; ********************************************************************** ;;; -;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/array.lisp,v 1.28 1990/11/03 03:25:14 wlott Exp $ +;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/array.lisp,v 1.29 1990/11/10 18:43:30 wlott Exp $ ;;; ;;; This file contains the MIPS definitions for array operations. ;;; @@ -19,12 +19,15 @@ ;;;; Allocator for the array header. (define-vop (make-array-header) - (:args (type :scs (any-reg descriptor-reg)) - (rank :scs (any-reg descriptor-reg))) + (:policy :fast-safe) + (:translate make-array-header) + (:args (type :scs (any-reg)) + (rank :scs (any-reg))) + (:arg-types positive-fixnum positive-fixnum) (:temporary (:scs (descriptor-reg) :to (:result 0) :target result) header) (:temporary (:scs (non-descriptor-reg) :type random) ndescr) (:results (result :scs (descriptor-reg))) - (:generator 0 + (:generator 25 (pseudo-atomic (ndescr) (inst addu header alloc-tn vm:other-pointer-type) (inst addu alloc-tn -- GitLab