From 655ab5c187d97b16e6f82790616dfe9a01c30b04 Mon Sep 17 00:00:00 2001
From: wlott <wlott>
Date: Tue, 28 Apr 1992 15:38:37 +0000
Subject: [PATCH] Changed number-stack-displacement to only take into account
 the space needed for the register window.  The call-out vop now takes the
 callee save area into account when allocating the frame.

---
 compiler/sparc/call.lisp | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/compiler/sparc/call.lisp b/compiler/sparc/call.lisp
index eb47ee8f1..3f4a09922 100644
--- a/compiler/sparc/call.lisp
+++ b/compiler/sparc/call.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/sparc/call.lisp,v 1.11 1992/04/27 20:03:45 wlott Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/sparc/call.lisp,v 1.12 1992/04/28 15:38:37 wlott Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -145,14 +145,11 @@
 
 ;;; NUMBER-STACK-DISPLACEMENT
 ;;;
-;;; The number of bytes reserved above the number stack pointer.
+;;; The number of bytes reserved above the number stack pointer.  These
+;;; slots are required by architecture for a place to spill register windows.
 ;;; 
 (defconstant number-stack-displacement
-  (* (+ 16 ; 16 words to save ins and locals in.
-	1  ; extra word required by C call convention.
-	6  ; space where anyone we call can save his args.
-	1) ; and one more to round it out.
-     vm:word-bytes))
+  (* 16 vm:word-bytes))
 
 ;;; Used for setting up the Old-FP in local call.
 ;;;
-- 
GitLab