From: Thiemo Seufer Date: Wed, 10 Dec 2008 22:04:13 +0000 (+0000) Subject: 1.0.23.28: defconstant -> def!constant in the MIPS backend. X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=b3b94b75dcaf5380326bb64c4ae1795559e27a7d;p=sbcl.git 1.0.23.28: defconstant -> def!constant in the MIPS backend. --- diff --git a/src/compiler/mips/insts.lisp b/src/compiler/mips/insts.lisp index 8e21fd8..d441d5c 100644 --- a/src/compiler/mips/insts.lisp +++ b/src/compiler/mips/insts.lisp @@ -168,12 +168,12 @@ ;;;; Constants used by instruction emitters. -(defconstant special-op #b000000) -(defconstant bcond-op #b000001) -(defconstant cop0-op #b010000) -(defconstant cop1-op #b010001) -(defconstant cop2-op #b010010) -(defconstant cop3-op #b010011) +(def!constant special-op #b000000) +(def!constant bcond-op #b000001) +(def!constant cop0-op #b010000) +(def!constant cop1-op #b010001) +(def!constant cop2-op #b010010) +(def!constant cop3-op #b010011) diff --git a/src/compiler/mips/vm.lisp b/src/compiler/mips/vm.lisp index eb805a9..ad62ee5 100644 --- a/src/compiler/mips/vm.lisp +++ b/src/compiler/mips/vm.lisp @@ -107,7 +107,7 @@ "-SC-NUMBER")))) (list* `(define-storage-class ,sc-name ,index ,@(cdr class)) - `(defconstant ,constant-name ,index) + `(def!constant ,constant-name ,index) `(export ',constant-name) forms))) (index 0 (1+ index)) @@ -318,20 +318,20 @@ ;;; The SC numbers for register and stack arguments/return values. ;;; -(defconstant register-arg-scn (meta-sc-number-or-lose 'descriptor-reg)) -(defconstant immediate-arg-scn (meta-sc-number-or-lose 'any-reg)) -(defconstant control-stack-arg-scn (meta-sc-number-or-lose 'control-stack)) +(def!constant register-arg-scn (meta-sc-number-or-lose 'descriptor-reg)) +(def!constant immediate-arg-scn (meta-sc-number-or-lose 'any-reg)) +(def!constant control-stack-arg-scn (meta-sc-number-or-lose 'control-stack)) (eval-when (:compile-toplevel :load-toplevel :execute) ;;; Offsets of special stack frame locations -(defconstant ocfp-save-offset 0) -(defconstant lra-save-offset 1) -(defconstant nfp-save-offset 2) +(def!constant ocfp-save-offset 0) +(def!constant lra-save-offset 1) +(def!constant nfp-save-offset 2) ;;; The number of arguments/return values passed in registers. ;;; -(defconstant register-arg-count 6) +(def!constant register-arg-count 6) ;;; The offsets within the register-arg SC that we pass values in, first ;;; value first. @@ -354,7 +354,7 @@ *register-arg-offsets*)) ;;; This is used by the debugger. -(defconstant single-value-return-byte-offset 8) +(def!constant single-value-return-byte-offset 8) ;;; This function is called by debug output routines that want a pretty name ;;; for a TN's location. It returns a thing that can be printed with PRINC. diff --git a/version.lisp-expr b/version.lisp-expr index 0548086..2703ad9 100644 --- a/version.lisp-expr +++ b/version.lisp-expr @@ -17,4 +17,4 @@ ;;; checkins which aren't released. (And occasionally for internal ;;; versions, especially for internal versions off the main CVS ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".) -"1.0.23.27" +"1.0.23.28"