ENVIRONMENT-HAS-PARENT? must return one of three values: #F, #T, or
authorChris Hanson <org/chris-hanson/cph>
Sun, 21 Jul 1991 07:02:17 +0000 (07:02 +0000)
committerChris Hanson <org/chris-hanson/cph>
Sun, 21 Jul 1991 07:02:17 +0000 (07:02 +0000)
'SIMULATED.  In the case of compiled closures, it was returning
something else, causing the debugging tools to think that these
procedures had no closing frame.

v7/src/runtime/uenvir.scm
v8/src/runtime/uenvir.scm

index dc7a128772274109bdffd522628bc934fc55a890..81b6a2d6379a49073b426af4fbd8ca838b6dc0ac 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/uenvir.scm,v 14.23 1991/05/10 22:24:18 cph Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/uenvir.scm,v 14.24 1991/07/21 07:02:17 cph Exp $
 
 Copyright (c) 1988-91 Massachusetts Institute of Technology
 
@@ -575,7 +575,7 @@ MIT in each case. |#
        (let ((parent (dbg-block/parent stack-block)))
          (and parent
               (case (dbg-block/type parent)
-                ((CLOSURE) (dbg-block/original-parent stack-block))
+                ((CLOSURE) (and (dbg-block/original-parent stack-block) true))
                 ((STACK IC) true)
                 (else (error "Illegal parent block" parent))))))
       'SIMULATED))
index c7ac2d458b5deb415ab4d210c1a5849599550417..468e1d31dee469a1897e88da577378bc58c67870 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v8/src/runtime/uenvir.scm,v 14.23 1991/05/10 22:24:18 cph Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v8/src/runtime/uenvir.scm,v 14.24 1991/07/21 07:02:17 cph Exp $
 
 Copyright (c) 1988-91 Massachusetts Institute of Technology
 
@@ -575,7 +575,7 @@ MIT in each case. |#
        (let ((parent (dbg-block/parent stack-block)))
          (and parent
               (case (dbg-block/type parent)
-                ((CLOSURE) (dbg-block/original-parent stack-block))
+                ((CLOSURE) (and (dbg-block/original-parent stack-block) true))
                 ((STACK IC) true)
                 (else (error "Illegal parent block" parent))))))
       'SIMULATED))