[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] GNU Guile branch, master, updated. release_1-9-11-10-g61
From: |
Andy Wingo |
Subject: |
[Guile-commits] GNU Guile branch, master, updated. release_1-9-11-10-g615eb45 |
Date: |
Wed, 02 Jun 2010 20:53:47 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".
http://git.savannah.gnu.org/cgit/guile.git/commit/?id=615eb45521a6810ca2bc89763d5b4892a88ae313
The branch, master has been updated
via 615eb45521a6810ca2bc89763d5b4892a88ae313 (commit)
from 9a598c47f748c7369e622cdb491ee225b0b97767 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 615eb45521a6810ca2bc89763d5b4892a88ae313
Author: Andy Wingo <address@hidden>
Date: Wed Jun 2 22:56:10 2010 +0200
brown-paper-bag commit
* module/system/vm/debug.scm (frame->module): In which our author
misunderstands git's index.
-----------------------------------------------------------------------
Summary of changes:
module/system/vm/debug.scm | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/module/system/vm/debug.scm b/module/system/vm/debug.scm
index f330458..7bbb5c8 100644
--- a/module/system/vm/debug.scm
+++ b/module/system/vm/debug.scm
@@ -147,18 +147,19 @@
(define (frame->module frame)
(let ((proc (frame-procedure frame)))
(if (program? proc)
- (let* ((mod (or (program-module proc) (current-module )))
+ (let* ((mod (or (program-module proc) (current-module)))
(mod* (make-module)))
(module-use! mod* mod)
(for-each
(lambda (binding)
- (module-add!
- mod*
- (binding:name binding)
- (let ((x (frame-local-ref frame (binding:index binding))))
- (if (binding:boxed? binding)
- x
- (make-variable x)))))
+ (let* ((x (frame-local-ref frame (binding:index binding)))
+ (var (if (binding:boxed? binding) x (make-variable x))))
+ (format (debug-output-port)
+ "~:[Read-only~;Mutable~] local variable ~a = ~70:@y\n"
+ (binding:boxed? binding)
+ (binding:name binding)
+ (if (variable-bound? var) (variable-ref var) var))
+ (module-add! mod* (binding:name binding) var)))
(frame-bindings frame))
mod*)
(current-module))))
hooks/post-receive
--
GNU Guile
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Guile-commits] GNU Guile branch, master, updated. release_1-9-11-10-g615eb45,
Andy Wingo <=