X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fpack.lisp;h=1673e940efbe5b2ebe2f8c85a73e89550cfaf800;hb=e3113504fca73ebd1b992930315386d9d3ae5d18;hp=235b0e56da03e132a52306e37143df5eb263ef2b;hpb=a898718d7224f5cab34c623f5c56685fa60a5324;p=sbcl.git diff --git a/src/compiler/pack.lisp b/src/compiler/pack.lisp index 235b0e5..1673e94 100644 --- a/src/compiler/pack.lisp +++ b/src/compiler/pack.lisp @@ -607,20 +607,6 @@ save tn before)) (values)) -(eval-when (:compile-toplevel :execute) - -;;; Do stuff to note a read of TN, for OPTIMIZED-EMIT-SAVES-BLOCK. -(defmacro save-note-read (tn) - `(let* ((tn ,tn) - (num (tn-number tn))) - (when (and (sc-save-p (tn-sc tn)) - (zerop (sbit restores num)) - (not (eq (tn-kind tn) :component))) - (setf (sbit restores num) 1) - (push tn restores-list)))) - -) ; EVAL-WHEN - ;;; Start scanning backward at the end of BLOCK, looking which TNs are ;;; live and looking for places where we have to save. We manipulate ;;; two sets: SAVES and RESTORES. @@ -700,9 +686,7 @@ (setq saves-list (delete tn saves-list :test #'eq)))))) - (macrolet (;; Do stuff to note a read of TN, for - ;; OPTIMIZED-EMIT-SAVES-BLOCK. - (save-note-read (tn) + (macrolet ((save-note-read (tn) `(let* ((tn ,tn) (num (tn-number tn))) (when (and (sc-save-p (tn-sc tn))