[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.5-128-ge9c89
From: |
Ludovic Courtès |
Subject: |
[Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.5-128-ge9c898b |
Date: |
Fri, 04 May 2012 22:45:08 +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=e9c898bf24c2faf86d3d2f61361bc52ff3abc8b2
The branch, stable-2.0 has been updated
via e9c898bf24c2faf86d3d2f61361bc52ff3abc8b2 (commit)
from b662b7e971423934b897f925ccc3061fc640e996 (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 e9c898bf24c2faf86d3d2f61361bc52ff3abc8b2
Author: Ludovic Courtès <address@hidden>
Date: Sat May 5 00:44:54 2012 +0200
Correct typing of assertion in the `wind' instruction.
* libguile/vm-i-system.c (wind): Check `scm_to_bool (scm_thunk_p (x))'
instead of `scm_thunk_p'.
-----------------------------------------------------------------------
Summary of changes:
libguile/vm-i-system.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/libguile/vm-i-system.c b/libguile/vm-i-system.c
index 3ac0097..2399fa0 100644
--- a/libguile/vm-i-system.c
+++ b/libguile/vm-i-system.c
@@ -1570,8 +1570,10 @@ VM_DEFINE_INSTRUCTION (86, wind, "wind", 0, 2, 0)
/* Push wind and unwind procedures onto the dynamic stack. Note that neither
are actually called; the compiler should emit calls to wind and unwind for
the normal dynamic-wind control flow. */
- VM_ASSERT (scm_thunk_p (wind), vm_error_not_a_thunk ("dynamic-wind", wind));
- VM_ASSERT (scm_thunk_p (unwind), vm_error_not_a_thunk ("dynamic-wind",
unwind));
+ VM_ASSERT (scm_to_bool (scm_thunk_p (wind)),
+ vm_error_not_a_thunk ("dynamic-wind", wind));
+ VM_ASSERT (scm_to_bool (scm_thunk_p (unwind)),
+ vm_error_not_a_thunk ("dynamic-wind", unwind));
scm_i_set_dynwinds (scm_cons (scm_cons (wind, unwind), scm_i_dynwinds ()));
NEXT;
}
hooks/post-receive
--
GNU Guile
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.5-128-ge9c898b,
Ludovic Courtès <=