Skip to content
Snippets Groups Projects
Commit a4742df8 authored by rtoy's avatar rtoy
Browse files

I think we should make the code-tn be set before we set the ctr

register.  GC of interrupt contexts wants the code-tn te be set when
GCing ctr, I think.
parent 81a5d3bb
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
(ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/ppc/call.lisp,v 1.11 2006/01/18 15:21:26 rtoy Exp $")
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/ppc/call.lisp,v 1.12 2006/02/08 01:32:58 rtoy Exp $")
;;;
;;; **********************************************************************
;;;
......@@ -833,8 +833,8 @@ default-value-8
(return)))
(note-this-location vop :call-site)
(inst mtctr entry-point)
(move code-tn function)
(inst mtctr entry-point)
(inst bctr))
,@(ecase return
......
......@@ -7,7 +7,7 @@
;;; Scott Fahlman (FAHLMAN@CMUC).
;;; **********************************************************************
;;;
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/ppc/macros.lisp,v 1.11 2006/01/18 15:21:26 rtoy Exp $
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/ppc/macros.lisp,v 1.12 2006/02/08 01:32:58 rtoy Exp $
;;;
;;; This file contains various useful macros for generating PC code.
;;;
......@@ -83,8 +83,8 @@
`(progn
(inst addi ,lip ,function (- (* vm:word-bytes vm:function-code-offset)
vm:function-pointer-type))
(inst mtctr ,lip)
(move code-tn ,function)
(inst mtctr ,lip)
(inst bctr)))
(defmacro lisp-return (return-pc lip &key (offset 0) (frob-code t))
......
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