Skip to content
Snippets Groups Projects
Commit 7d3d4909 authored by wlott's avatar wlott
Browse files

Added :call-site code location, and changed the :unknown-return code

location to a :single-value-return code location, because only a single
value is expected back.
parent df6744a0
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
;;; Scott Fahlman (FAHLMAN@CMUC). ;;; Scott Fahlman (FAHLMAN@CMUC).
;;; ********************************************************************** ;;; **********************************************************************
;;; ;;;
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/assembly/mips/support.lisp,v 1.6 1991/07/14 04:12:20 wlott Exp $ ;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/assembly/mips/support.lisp,v 1.7 1992/05/21 02:30:24 wlott Exp $
;;; ;;;
;;; This file contains the machine specific support routines needed by ;;; This file contains the machine specific support routines needed by
;;; the file assembler. ;;; the file assembler.
...@@ -31,12 +31,13 @@ ...@@ -31,12 +31,13 @@
(when cur-nfp (when cur-nfp
(store-stack-tn ,nfp-save cur-nfp)) (store-stack-tn ,nfp-save cur-nfp))
(inst compute-lra-from-code ,lra code-tn lra-label ,temp) (inst compute-lra-from-code ,lra code-tn lra-label ,temp)
(note-this-location ,vop :call-site)
(inst j (make-fixup ',name :assembly-routine)) (inst j (make-fixup ',name :assembly-routine))
(inst nop) (inst nop)
(emit-return-pc lra-label) (emit-return-pc lra-label)
(note-this-location ,vop :unknown-return)
(move csp-tn ocfp-tn) (move csp-tn ocfp-tn)
(inst nop) (inst nop)
(note-this-location ,vop :single-value-return)
(inst entry-point) (inst entry-point)
(inst compute-code-from-lra code-tn code-tn (inst compute-code-from-lra code-tn code-tn
lra-label ,temp) lra-label ,temp)
......
;;; -*- Package: SPARC -*- ;;; -*- Package: SPARC -*-
;;; ;;;
;;; ********************************************************************** ;;; **********************************************************************
;;; This code was written as part of the Spice Lisp project at ;;; This code was written as part of the CMU Common Lisp project at
;;; Carnegie-Mellon University, and has been placed in the public domain. ;;; Carnegie Mellon University, and has been placed in the public domain.
;;; If you want to use this code or any part of Spice Lisp, please contact ;;; If you want to use this code or any part of CMU Common Lisp, please contact
;;; Scott Fahlman (FAHLMAN@CMUC). ;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;; **********************************************************************
;;; ;;;
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/assembly/sparc/support.lisp,v 1.3 1992/03/06 11:03:58 wlott Exp $ (ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/assembly/sparc/support.lisp,v 1.4 1992/05/21 02:31:59 wlott Exp $")
;;; ;;;
;;; This file contains the machine specific support routines needed by ;;; **********************************************************************
;;; the file assembler.
;;; ;;;
(in-package "SPARC") (in-package "SPARC")
...@@ -36,12 +35,13 @@ ...@@ -36,12 +35,13 @@
(when cur-nfp (when cur-nfp
(store-stack-tn ,nfp-save cur-nfp)) (store-stack-tn ,nfp-save cur-nfp))
(inst compute-lra-from-code ,lra code-tn lra-label ,temp) (inst compute-lra-from-code ,lra code-tn lra-label ,temp)
(note-this-location ,vop :call-site)
(inst ji ,temp (make-fixup ',name :assembly-routine)) (inst ji ,temp (make-fixup ',name :assembly-routine))
(inst nop) (inst nop)
(emit-return-pc lra-label) (emit-return-pc lra-label)
(note-this-location ,vop :unknown-return)
(move csp-tn ocfp-tn) (move csp-tn ocfp-tn)
(inst nop) (inst nop)
(note-this-location ,vop :single-value-return)
(inst compute-code-from-lra code-tn code-tn (inst compute-code-from-lra code-tn code-tn
lra-label ,temp) lra-label ,temp)
(when cur-nfp (when cur-nfp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment