X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fbackend.lisp;h=280ec4a65297ce526e2cc8327013080b9798cd15;hb=872175cd9cb5b4966a36d4bd92421cc407a0355b;hp=0752e4249f7dbadc7520fc5b23d6cfb1c55a7af2;hpb=8eb659eee63e989f2f3da5673c3ac00a6712f567;p=sbcl.git diff --git a/src/compiler/backend.lisp b/src/compiler/backend.lisp index 0752e42..280ec4a 100644 --- a/src/compiler/backend.lisp +++ b/src/compiler/backend.lisp @@ -23,19 +23,8 @@ ;;;; miscellaneous backend properties -;;; the conventional file extension for fasl files on this architecture, -;;; e.g. "x86f" -(defvar *backend-fasl-file-type* nil) -(declaim (type (or simple-string null) *backend-fasl-file-type*)) - -;;; implementation and version of fasl files used -(defvar *backend-fasl-file-implementation* nil) -(defvar *backend-fasl-file-version* nil) -(declaim (type (or keyword null) *backend-fasl-file-implementation*)) -(declaim (type (or index null) *backend-fasl-file-version*)) - -;;; the number of references that a TN must have to offset the overhead of -;;; saving the TN across a call +;;; the number of references that a TN must have to offset the +;;; overhead of saving the TN across a call (defvar *backend-register-save-penalty* 0) (declaim (type index *backend-register-save-penalty*)) @@ -116,7 +105,7 @@ ;;; The T primitive-type is kept in this variable so that people who ;;; have to special-case it can get at it conveniently. This variable ;;; has to be set by the machine-specific VM definition, since the -;;; DEF-PRIMITIVE-TYPE for T must specify the SCs that boxed objects +;;; !DEF-PRIMITIVE-TYPE for T must specify the SCs that boxed objects ;;; can be allocated in. (defvar *backend-t-primitive-type*) (declaim (type primitive-type *backend-t-primitive-type*)) @@ -126,10 +115,6 @@ (defvar *backend-parsed-vops* (make-hash-table :test 'eq)) (declaim (type hash-table *backend-parsed-vops*)) -;;; the backend-specific aspects of the info environment -(defvar *backend-info-environment* nil) -(declaim (type list *backend-info-environment*)) - ;;; support for the assembler (defvar *backend-instruction-formats* (make-hash-table :test 'eq)) (defvar *backend-instruction-flavors* (make-hash-table :test 'equal)) @@ -168,7 +153,7 @@ `(progn (eval-when (:compile-toplevel :load-toplevel :execute) (defparameter *vm-support-routines* ',routines)) - (defstruct vm-support-routines + (defstruct (vm-support-routines (:copier nil)) ,@(mapcar #'(lambda (routine) `(,routine nil :type (or function null))) routines)) @@ -242,8 +227,3 @@ ;;; the VM support routines (defvar *backend-support-routines* (make-vm-support-routines)) (declaim (type vm-support-routines *backend-support-routines*)) - -;;;; utilities - -(defun backend-byte-fasl-file-implementation () - *backend-byte-order*)