Skip to content
Snippets Groups Projects
Commit 0a1d3ed3 authored by wlott's avatar wlott
Browse files

Changed alien-type-class SAP to SYSTEM-AREA-POINTER.

parent 121168bc
No related branches found
No related tags found
No related merge requests found
...@@ -7,11 +7,11 @@ ...@@ -7,11 +7,11 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu. ;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;; ;;;
(ext:file-comment (ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/c-call.lisp,v 1.8 1992/02/14 23:50:27 wlott Exp $") "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/c-call.lisp,v 1.9 1992/03/10 12:38:19 wlott Exp $")
;;; ;;;
;;; ********************************************************************** ;;; **********************************************************************
;;; ;;;
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/c-call.lisp,v 1.8 1992/02/14 23:50:27 wlott Exp $ ;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/c-call.lisp,v 1.9 1992/03/10 12:38:19 wlott Exp $
;;; ;;;
;;; This file contains the VOPs and other necessary machine specific support ;;; This file contains the VOPs and other necessary machine specific support
;;; routines for call-out to C. ;;; routines for call-out to C.
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
(my-make-wired-tn ptype reg-sc (+ stack-frame-size 4)) (my-make-wired-tn ptype reg-sc (+ stack-frame-size 4))
(my-make-wired-tn ptype stack-sc stack-frame-size))))) (my-make-wired-tn ptype stack-sc stack-frame-size)))))
(def-alien-type-method (alien::sap :arg-tn) (type state) (def-alien-type-method (system-area-pointer :arg-tn) (type state)
(declare (ignore type)) (declare (ignore type))
(let ((stack-frame-size (arg-state-stack-frame-size state))) (let ((stack-frame-size (arg-state-stack-frame-size state)))
(setf (arg-state-stack-frame-size state) (1+ stack-frame-size)) (setf (arg-state-stack-frame-size state) (1+ stack-frame-size))
...@@ -108,7 +108,7 @@ ...@@ -108,7 +108,7 @@
(values 'unsigned-byte-32 'unsigned-reg)) (values 'unsigned-byte-32 'unsigned-reg))
(my-make-wired-tn ptype reg-sc (+ num-results 2))))) (my-make-wired-tn ptype reg-sc (+ num-results 2)))))
(def-alien-type-method (alien::sap :result-tn) (type state) (def-alien-type-method (system-area-pointer :result-tn) (type state)
(declare (ignore type)) (declare (ignore type))
(let ((num-results (result-state-num-results state))) (let ((num-results (result-state-num-results state)))
(setf (result-state-num-results state) (1+ num-results)) (setf (result-state-num-results state) (1+ num-results))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment