Skip to content
Snippets Groups Projects
Commit 321c6f66 authored by rtoy's avatar rtoy
Browse files

In FUNCTION-LAMBDA-EXPRESSION, COMPILED-DEBUG-INFO-SOURCE can return

NIL, so check for that before trying to access the DEBUG-SOURCE-FROM.
parent 9d241b48
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@
;;; Carnegie Mellon University, and has been placed in the public domain.
;;;
(ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/eval.lisp,v 1.45 2009/06/11 16:03:57 rtoy Rel $")
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/eval.lisp,v 1.46 2010/03/12 11:00:33 rtoy Exp $")
;;;
;;; **********************************************************************
;;;
......@@ -299,7 +299,8 @@
(info (kernel:%code-debug-info code)))
(if info
(let ((source (first (c::compiled-debug-info-source info))))
(cond ((and (eq (c::debug-source-from source) :lisp)
(cond ((and source
(eq (c::debug-source-from source) :lisp)
(eq (c::debug-source-info source) fun))
(values (second (svref (c::debug-source-name source) 0))
nil name))
......
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