[svn:parrot] r35731 - trunk/src/gc

[email protected]
Newsgroups perl.cvs.parrot
Message-ID <[email protected]>
Author: Whiteknight
Date: Sun Jan 18 16:40:49 2009
New Revision: 35731

Modified:
   trunk/src/gc/incremental_ms.c

Log:
[GC] apply a patch from jimmy++ to simplify a debug condition for TT#84

Modified: trunk/src/gc/incremental_ms.c
==============================================================================
--- trunk/src/gc/incremental_ms.c	(original)
+++ trunk/src/gc/incremental_ms.c	Sun Jan 18 16:40:49 2009
@@ -527,11 +527,9 @@
 #if DISABLE_GC_DEBUG
     UNUSED(interp);
 #else
-    if (GC_DEBUG(interp)) {
-        if (pool == interp->arena_base->pmc_pool) {
-            PMC * const p = (PMC *)to_add;
-            p->vtable     = interp->vtables[enum_class_Null];
-        }
+    if (GC_DEBUG(interp)  && pool == interp->arena_base->pmc_pool) {
+        PMC * const p = (PMC *)to_add;
+        p->vtable     = interp->vtables[enum_class_Null];
     }
 #endif
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.