X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fdebug-info.lisp;h=9b58481bb085634bcde12151d7a7bf2d4b0ade04;hb=0f2ae6ebc3520494b665a9dbf32c36c671334d36;hp=760e594f879fc591b1dddef763b730db6211dd85;hpb=29a9ccc860532b32c566aec095f570e999a9c52c;p=sbcl.git diff --git a/src/code/debug-info.lisp b/src/code/debug-info.lisp index 760e594..9b58481 100644 --- a/src/code/debug-info.lisp +++ b/src/code/debug-info.lisp @@ -31,7 +31,7 @@ ;;; FIXME: old CMU CL representation follows: ;;; Compiled debug variables are in a packed binary representation in the -;;; DEBUG-FUN-VARIABLES: +;;; DEBUG-FUN-VARS: ;;; single byte of boolean flags: ;;; uninterned name ;;; packaged name @@ -46,16 +46,16 @@ ;;; ...package name bytes...] ;;; [If has ID, ID as var-length integer] ;;; SC-Offset of primary location (as var-length integer) -;;; [If has save SC, SC-Offset of save location (as var-length integer)] +;;; [If has save SC, SC-OFFSET of save location (as var-length integer)] ;;; FIXME: The first two are no longer used in SBCL. ;;;(defconstant compiled-debug-var-uninterned #b00000001) ;;;(defconstant compiled-debug-var-packaged #b00000010) -(defconstant compiled-debug-var-environment-live #b00000100) -(defconstant compiled-debug-var-save-loc-p #b00001000) -(defconstant compiled-debug-var-id-p #b00010000) -(defconstant compiled-debug-var-minimal-p #b00100000) -(defconstant compiled-debug-var-deleted-p #b01000000) +(def!constant compiled-debug-var-environment-live #b00000100) +(def!constant compiled-debug-var-save-loc-p #b00001000) +(def!constant compiled-debug-var-id-p #b00010000) +(def!constant compiled-debug-var-minimal-p #b00100000) +(def!constant compiled-debug-var-deleted-p #b01000000) ;;;; compiled debug blocks ;;;; @@ -74,7 +74,7 @@ ;;;; tuples... (defconstant-eqx compiled-debug-block-nsucc-byte (byte 2 0) #'equalp) -(defconstant compiled-debug-block-elsewhere-p #b00000100) +(def!constant compiled-debug-block-elsewhere-p #b00000100) (defconstant-eqx compiled-code-location-kind-byte (byte 3 0) #'equalp) (defparameter *compiled-code-location-kinds* @@ -118,7 +118,7 @@ ;; * the variable ID, when it has one ;; * SC-offset of primary location, if it has one ;; * SC-offset of save location, if it has one - (variables nil :type (or simple-vector null)) + (vars nil :type (or simple-vector null)) ;; a vector of the packed binary representation of the ;; COMPILED-DEBUG-BLOCKs in this function, in the order that the ;; blocks were emitted. The first block is the start of the @@ -184,10 +184,10 @@ ;; The function returns using the fixed-values convention, but ;; in order to save space, we elected not to store a vector. (returns :fixed :type (or (simple-array * (*)) (member :standard :fixed))) - ;; SC-Offsets describing where the return PC and return FP are kept. + ;; SC-OFFSETs describing where the return PC and return FP are kept. (return-pc (missing-arg) :type sc-offset) (old-fp (missing-arg) :type sc-offset) - ;; SC-Offset for the number stack FP in this function, or NIL if no + ;; SC-OFFSET for the number stack FP in this function, or NIL if no ;; NFP allocated. (nfp nil :type (or sc-offset null)) ;; The earliest PC in this function at which the environment is properly