From c81bfaa0b7023740006215ee6ecadcfae3a78d16 Mon Sep 17 00:00:00 2001 From: wlott <wlott> Date: Sat, 23 Mar 1991 12:32:42 +0000 Subject: [PATCH] Moved code-header-{ref,set} from system.lisp to cell.lisp so that it is later in the load/compile order. --- compiler/mips/cell.lisp | 18 ++++++++++++++++-- compiler/mips/system.lisp | 15 ++------------- compiler/sparc/cell.lisp | 16 +++++++++++++++- compiler/sparc/system.lisp | 13 +------------ 4 files changed, 34 insertions(+), 28 deletions(-) diff --git a/compiler/mips/cell.lisp b/compiler/mips/cell.lisp index 70dbdb078..4c780538a 100644 --- a/compiler/mips/cell.lisp +++ b/compiler/mips/cell.lisp @@ -7,11 +7,11 @@ ;;; Scott Fahlman or slisp-group@cs.cmu.edu. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/cell.lisp,v 1.53 1991/03/20 03:08:17 wlott Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/cell.lisp,v 1.54 1991/03/23 12:30:09 wlott Exp $") ;;; ;;; ********************************************************************** ;;; -;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/cell.lisp,v 1.53 1991/03/20 03:08:17 wlott Exp $ +;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/cell.lisp,v 1.54 1991/03/23 12:30:09 wlott Exp $ ;;; ;;; This file contains the VM definition of various primitive memory access ;;; VOPs for the MIPS. @@ -343,3 +343,17 @@ (:translate structure-set) (:variant structure-slots-offset structure-pointer-type) (:arg-types structure positive-fixnum *)) + + + +;;;; Code object frobbing. + +(define-vop (code-header-ref word-index-ref) + (:translate code-header-ref) + (:policy :fast-safe) + (:variant 0 other-pointer-type)) + +(define-vop (code-header-set word-index-set) + (:translate code-header-set) + (:policy :fast-safe) + (:variant 0 other-pointer-type)) diff --git a/compiler/mips/system.lisp b/compiler/mips/system.lisp index b3d4cacc4..7f2e1b56f 100644 --- a/compiler/mips/system.lisp +++ b/compiler/mips/system.lisp @@ -7,11 +7,11 @@ ;;; Scott Fahlman or slisp-group@cs.cmu.edu. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/system.lisp,v 1.41 1991/03/20 03:09:03 wlott Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/system.lisp,v 1.42 1991/03/23 12:30:42 wlott Exp $") ;;; ;;; ********************************************************************** ;;; -;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/system.lisp,v 1.41 1991/03/20 03:09:03 wlott Exp $ +;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/system.lisp,v 1.42 1991/03/23 12:30:42 wlott Exp $ ;;; ;;; MIPS VM definitions of various system hacking operations. ;;; @@ -227,17 +227,6 @@ ;;;; Code object frobbing. -(define-vop (code-header-ref word-index-ref) - (:translate code-header-ref) - (:policy :fast-safe) - (:variant 0 other-pointer-type)) - -(define-vop (code-header-set word-index-set) - (:translate code-header-set) - (:policy :fast-safe) - (:variant 0 other-pointer-type)) - - (define-vop (code-instructions) (:translate code-instructions) (:policy :fast-safe) diff --git a/compiler/sparc/cell.lisp b/compiler/sparc/cell.lisp index c6d0554f1..0cc093130 100644 --- a/compiler/sparc/cell.lisp +++ b/compiler/sparc/cell.lisp @@ -7,7 +7,7 @@ ;;; Scott Fahlman (FAHLMAN@CMUC). ;;; ********************************************************************** ;;; -;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/sparc/cell.lisp,v 1.5 1991/03/22 14:05:43 wlott Exp $ +;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/sparc/cell.lisp,v 1.6 1991/03/23 12:32:31 wlott Exp $ ;;; ;;; This file contains the VM definition of various primitive memory access ;;; VOPs for the SPARC. @@ -339,3 +339,17 @@ (:variant structure-slots-offset structure-pointer-type) (:arg-types structure positive-fixnum *)) + + +;;;; Code object frobbing. + +(define-vop (code-header-ref word-index-ref) + (:translate code-header-ref) + (:policy :fast-safe) + (:variant 0 other-pointer-type)) + +(define-vop (code-header-set word-index-set) + (:translate code-header-set) + (:policy :fast-safe) + (:variant 0 other-pointer-type)) + diff --git a/compiler/sparc/system.lisp b/compiler/sparc/system.lisp index e3b4bebdb..be8d7b3cf 100644 --- a/compiler/sparc/system.lisp +++ b/compiler/sparc/system.lisp @@ -7,7 +7,7 @@ ;;; Scott Fahlman (FAHLMAN@CMUC). ;;; ********************************************************************** ;;; -;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/sparc/system.lisp,v 1.5 1991/03/22 14:03:47 wlott Exp $ +;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/sparc/system.lisp,v 1.6 1991/03/23 12:32:42 wlott Exp $ ;;; ;;; MIPS VM definitions of various system hacking operations. ;;; @@ -216,17 +216,6 @@ ;;;; Code object frobbing. -(define-vop (code-header-ref word-index-ref) - (:translate code-header-ref) - (:policy :fast-safe) - (:variant 0 other-pointer-type)) - -(define-vop (code-header-set word-index-set) - (:translate code-header-set) - (:policy :fast-safe) - (:variant 0 other-pointer-type)) - - (define-vop (code-instructions) (:translate code-instructions) (:policy :fast-safe) -- GitLab