[svn:parrot] r38852 - in trunk/src: . gc

Infinoid at svn.parrot.org Infinoid at svn.parrot.org
Sat May 16 23:28:07 UTC 2009


Author: Infinoid
Date: Sat May 16 23:28:06 2009
New Revision: 38852
URL: https://trac.parrot.org/parrot/changeset/38852

Log:
[cage] Fix some codetest failures.

Modified:
   trunk/src/gc/gc_ms.c
   trunk/src/gc/mark_sweep.c
   trunk/src/scheduler.c

Modified: trunk/src/gc/gc_ms.c
==============================================================================
--- trunk/src/gc/gc_ms.c	Sat May 16 22:31:24 2009	(r38851)
+++ trunk/src/gc/gc_ms.c	Sat May 16 23:28:06 2009	(r38852)
@@ -323,7 +323,7 @@
 
 =back
 
-=header2 MS Pool Functions
+=head2 MS Pool Functions
 
 =over 4
 
@@ -501,7 +501,7 @@
 
 =back
 
-=header2 MS PMC_EXT Pool functions
+=head2 MS PMC_EXT Pool functions
 
 =over 4
 

Modified: trunk/src/gc/mark_sweep.c
==============================================================================
--- trunk/src/gc/mark_sweep.c	Sat May 16 22:31:24 2009	(r38851)
+++ trunk/src/gc/mark_sweep.c	Sat May 16 23:28:06 2009	(r38852)
@@ -27,16 +27,6 @@
 /* HEADERIZER BEGIN: static */
 /* Don't modify between HEADERIZER BEGIN / HEADERIZER END.  Your changes will be lost. */
 
-static void more_traceable_objects(PARROT_INTERP,
-    ARGMOD(Small_Object_Pool *pool))
-        __attribute__nonnull__(1)
-        __attribute__nonnull__(2)
-        FUNC_MODIFIES(*pool);
-
-#define ASSERT_ARGS_more_traceable_objects __attribute__unused__ int _ASSERT_ARGS_CHECK = \
-       PARROT_ASSERT_ARG(interp) \
-    || PARROT_ASSERT_ARG(pool)
-/* Don't modify between HEADERIZER BEGIN / HEADERIZER END.  Your changes will be lost. */
 /* HEADERIZER END: static */
 
 /* Set when walking the system stack */

Modified: trunk/src/scheduler.c
==============================================================================
--- trunk/src/scheduler.c	Sat May 16 22:31:24 2009	(r38851)
+++ trunk/src/scheduler.c	Sat May 16 23:28:06 2009	(r38852)
@@ -406,7 +406,7 @@
         const INTVAL tid = VTABLE_get_integer(interp, task);
         VTABLE_delete_keyed_int(interp, interp->scheduler, tid);
     }
-    else if(interp->scheduler)
+    else if (interp->scheduler)
         Parrot_ex_throw_from_c_args(interp, NULL, EXCEPTION_INVALID_OPERATION,
             "Scheduler was not initialized for this interpreter.\n");
 }


More information about the parrot-commits mailing list