guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] GNU Guile branch, master, updated. release_1-9-5-44-g8b2


From: Ludovic Courtès
Subject: [Guile-commits] GNU Guile branch, master, updated. release_1-9-5-44-g8b22ed7
Date: Sat, 28 Nov 2009 21:52:29 +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=8b22ed7abdc72f7a8f1844af89aa790d27857c7b

The branch, master has been updated
       via  8b22ed7abdc72f7a8f1844af89aa790d27857c7b (commit)
      from  5c8cefe591d465af8d8eee9ca6edb98143107a73 (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 8b22ed7abdc72f7a8f1844af89aa790d27857c7b
Author: Ludovic Courtès <address@hidden>
Date:   Sat Nov 28 22:52:16 2009 +0100

    Remove remaining uses of discouraged constructs, really.
    
    * libguile/throw.c, libguile/vm-engine.h, libguile/vm-i-system.c,
      libguile/vm.c:  Replace uses of discouraged constructs by their
      current counterparts.

-----------------------------------------------------------------------

Summary of changes:
 libguile/throw.c       |    4 ++--
 libguile/vm-engine.h   |    2 +-
 libguile/vm-i-system.c |    6 +++---
 libguile/vm.c          |    4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/libguile/throw.c b/libguile/throw.c
index 2217c95..14153cf 100644
--- a/libguile/throw.c
+++ b/libguile/throw.c
@@ -211,7 +211,7 @@ scm_c_catch (SCM tag,
       throw_tag = jbr.throw_tag;
       jbr.throw_tag = SCM_EOL;
       jbr.retval = SCM_EOL;
-      if (SCM_NFALSEP (vm))
+      if (scm_is_true (vm))
         {
           SCM_VM_DATA (vm)->sp = sp;
           SCM_VM_DATA (vm)->fp = fp;
@@ -222,7 +222,7 @@ scm_c_catch (SCM tag,
                    - (sp + 1 - SCM_VM_DATA (vm)->stack_base)) * sizeof(SCM));
 #endif
         }
-      else if (SCM_NFALSEP ((vm = scm_the_vm ())))
+      else if (scm_is_true ((vm = scm_the_vm ())))
         {
           /* oof, it's possible this catch was called before the vm was
              booted... yick. anyway, try to reset the vm stack. */
diff --git a/libguile/vm-engine.h b/libguile/vm-engine.h
index d693289..ebe40b2 100644
--- a/libguile/vm-engine.h
+++ b/libguile/vm-engine.h
@@ -208,7 +208,7 @@
 #if VM_USE_HOOKS
 #define RUN_HOOK(h)                            \
 {                                              \
-  if (SCM_UNLIKELY (!SCM_FALSEP (vp->hooks[h])))\
+  if (SCM_UNLIKELY (scm_is_true (vp->hooks[h])))\
     {                                          \
       SYNC_REGISTER ();                                \
       vm_dispatch_hook (vp, vp->hooks[h], hook_args);      \
diff --git a/libguile/vm-i-system.c b/libguile/vm-i-system.c
index 1f376ab..c7704f3 100644
--- a/libguile/vm-i-system.c
+++ b/libguile/vm-i-system.c
@@ -769,7 +769,7 @@ VM_DEFINE_INSTRUCTION (53, call, "call", 1, -1, 1)
   /*
    * Other interpreted or compiled call
    */
-  if (!SCM_FALSEP (scm_procedure_p (x)))
+  if (!scm_is_false (scm_procedure_p (x)))
     {
       SCM args;
       /* At this point, the stack contains the frame, the procedure and each 
one
@@ -848,7 +848,7 @@ VM_DEFINE_INSTRUCTION (54, goto_args, "goto/args", 1, -1, 1)
   /*
    * Other interpreted or compiled call
    */
-  if (!SCM_FALSEP (scm_procedure_p (x)))
+  if (!scm_is_false (scm_procedure_p (x)))
     {
       SCM args;
       POP_LIST (nargs);
@@ -933,7 +933,7 @@ VM_DEFINE_INSTRUCTION (57, mv_call, "mv-call", 4, -1, 1)
   /*
    * Other interpreted or compiled call
    */
-  if (!SCM_FALSEP (scm_procedure_p (x)))
+  if (!scm_is_false (scm_procedure_p (x)))
     {
       SCM args;
       /* At this point, the stack contains the procedure and each one of its
diff --git a/libguile/vm.c b/libguile/vm.c
index 209408b..055bbee 100644
--- a/libguile/vm.c
+++ b/libguile/vm.c
@@ -421,7 +421,7 @@ SCM_DEFINE (scm_the_vm, "the-vm", 0, 0, 0,
 {
   scm_i_thread *t = SCM_I_CURRENT_THREAD;
 
-  if (SCM_UNLIKELY (SCM_FALSEP ((t->vm))))
+  if (SCM_UNLIKELY (scm_is_false ((t->vm))))
     t->vm = make_vm ();
 
   return t->vm;
@@ -482,7 +482,7 @@ SCM_DEFINE (scm_vm_fp, "vm:fp", 1, 0, 0,
   struct scm_vm *vp;                                   \
   SCM_VALIDATE_VM (1, vm);                             \
   vp = SCM_VM_DATA (vm);                               \
-  if (SCM_FALSEP (vp->hooks[n]))                       \
+  if (scm_is_false (vp->hooks[n]))                     \
     vp->hooks[n] = scm_make_hook (SCM_I_MAKINUM (1));  \
   return vp->hooks[n];                                 \
 }


hooks/post-receive
-- 
GNU Guile




reply via email to

[Prev in Thread] Current Thread [Next in Thread]