Skip to content

Commit

Permalink
1.0.36.35: More accurate WHO-CALLS / WHO-EXPANDS information
Browse files Browse the repository at this point in the history
  * Fix for .34 which also affects WHO-EXPANDS; instead of pointing at
    the toplevel form, actually point into the right subform.

  * Bug due to typo: CDDR was used instead of CADDR.
  • Loading branch information
Tobias C. Rittweiler committed Mar 20, 2010
1 parent fa68810 commit 768d7b3
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
2 changes: 2 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ changes relative to sbcl-1.0.36:
&REST and &KEY in lambda-list caused miscompilation (lp#458354)
* bug fix: WHO-CALLS information for source-transformed and compiler-macro
expanded calls (lp#542174)
* bug fix: more accurate WHO-MACROEXPANDS information; point into rather
than just at toplevel form.

changes in sbcl-1.0.36 relative to sbcl-1.0.35:
* new feature: SB-EXT:TYPEXPAND-1, SB-EXT:TYPEXPAND, and
Expand Down
22 changes: 11 additions & 11 deletions src/compiler/xref.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@
;; Properly record the deferred macroexpansion and source
;; transform information that's been stored in the block.
(dolist (xref-data (block-xrefs block))
(record-xref (car xref-data)
(cadr xref-data)
;; We use the debug-name of the functional
;; as an identifier. This works quite nicely,
;; except for (fast/slow)-methods with non-symbol,
;; non-number eql specializers, for which
;; the debug-name doesn't map exactly
;; to the fdefinition of the method.
functional
nil
(cddr xref-data)))))
(destructuring-bind (kind what path) xref-data
(record-xref kind what
;; We use the debug-name of the functional
;; as an identifier. This works quite nicely,
;; except for (fast/slow)-methods with non-symbol,
;; non-number eql specializers, for which
;; the debug-name doesn't map exactly
;; to the fdefinition of the method.
functional
nil
path)))))
(call-with-block-external-functionals block #'handle-node)))))

(defun call-with-block-external-functionals (block fun)
Expand Down
2 changes: 1 addition & 1 deletion version.lisp-expr
Original file line number Diff line number Diff line change
Expand Up @@ -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.36.34"
"1.0.36.35"

0 comments on commit 768d7b3

Please sign in to comment.