CMUCL commit: src/code (eval.lisp)
Raymond Toy
rtoy at common-lisp.net
Fri Mar 12 12:00:33 CET 2010
Date: Friday, March 12, 2010 @ 06:00:33
Author: rtoy
Path: /project/cmucl/cvsroot/src/code
Modified: eval.lisp
In FUNCTION-LAMBDA-EXPRESSION, COMPILED-DEBUG-INFO-SOURCE can return
NIL, so check for that before trying to access the DEBUG-SOURCE-FROM.
-----------+
eval.lisp | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Index: src/code/eval.lisp
diff -u src/code/eval.lisp:1.45 src/code/eval.lisp:1.46
--- src/code/eval.lisp:1.45 Thu Jun 11 12:03:57 2009
+++ src/code/eval.lisp Fri Mar 12 06:00:33 2010
@@ -5,7 +5,7 @@
;;; Carnegie Mellon University, and has been placed in the public domain.
;;;
(ext:file-comment
- "$Header: /project/cmucl/cvsroot/src/code/eval.lisp,v 1.45 2009-06-11 16:03:57 rtoy Rel $")
+ "$Header: /project/cmucl/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))
More information about the cmucl-commit
mailing list