Skip to content
Snippets Groups Projects
Commit 43388b5b authored by ram's avatar ram
Browse files

Fixed COMPUTE-1-DEBUG-FUNCTION to work correctly with DEBUG-INFO levels between

0 and 1.
parent 355a5fe2
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu. ;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;; ;;;
(ext:file-comment (ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/debug-dump.lisp,v 1.23 1991/04/08 12:44:34 ram Exp $") "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/debug-dump.lisp,v 1.24 1991/05/23 18:15:24 ram Exp $")
;;; ;;;
;;; ********************************************************************** ;;; **********************************************************************
;;; ;;;
...@@ -581,13 +581,10 @@ ...@@ -581,13 +581,10 @@
(compute-minimal-variables fun)) (compute-minimal-variables fun))
(setf (compiled-debug-function-arguments dfun) :minimal)) (setf (compiled-debug-function-arguments dfun) :minimal))
(t (t
(when (>= level 1) (setf (compiled-debug-function-variables dfun)
(setf (compiled-debug-function-variables dfun) (compute-variables fun level var-locs))
(compute-variables fun level var-locs))) (setf (compiled-debug-function-arguments dfun)
(compute-arguments fun var-locs))))
(unless (= level 0)
(setf (compiled-debug-function-arguments dfun)
(compute-arguments fun var-locs)))))
(when (>= level 2) (when (>= level 2)
(multiple-value-bind (blocks tlf-num) (multiple-value-bind (blocks tlf-num)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment