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

petdance at svn.parrot.org petdance at svn.parrot.org
Fri Nov 5 03:42:03 UTC 2010


Author: petdance
Date: Fri Nov  5 03:42:02 2010
New Revision: 49784
URL: https://trac.parrot.org/parrot/changeset/49784

Log:
shimmed up an argument

Modified:
   trunk/src/gc/gc_private.h
   trunk/src/gc/mark_sweep.c

Modified: trunk/src/gc/gc_private.h
==============================================================================
--- trunk/src/gc/gc_private.h	Fri Nov  5 03:40:36 2010	(r49783)
+++ trunk/src/gc/gc_private.h	Fri Nov  5 03:42:02 2010	(r49784)
@@ -387,12 +387,10 @@
         FUNC_MODIFIES(*mem_pools);
 
 void mark_special(PARROT_INTERP,
-    ARGMOD(Memory_Pools *mem_pools),
+    SHIM(Memory_Pools *mem_pools),
     ARGIN(PMC *obj))
         __attribute__nonnull__(1)
-        __attribute__nonnull__(2)
-        __attribute__nonnull__(3)
-        FUNC_MODIFIES(*mem_pools);
+        __attribute__nonnull__(3);
 
 void Parrot_add_to_free_list(SHIM_INTERP,
     ARGMOD(Fixed_Size_Pool *pool),
@@ -453,7 +451,6 @@
     , PARROT_ASSERT_ARG(mem_pools))
 #define ASSERT_ARGS_mark_special __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
        PARROT_ASSERT_ARG(interp) \
-    , PARROT_ASSERT_ARG(mem_pools) \
     , PARROT_ASSERT_ARG(obj))
 #define ASSERT_ARGS_Parrot_add_to_free_list __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
        PARROT_ASSERT_ARG(pool) \

Modified: trunk/src/gc/mark_sweep.c
==============================================================================
--- trunk/src/gc/mark_sweep.c	Fri Nov  5 03:40:36 2010	(r49783)
+++ trunk/src/gc/mark_sweep.c	Fri Nov  5 03:42:02 2010	(r49784)
@@ -355,7 +355,7 @@
 */
 
 void
-mark_special(PARROT_INTERP, ARGMOD(Memory_Pools *mem_pools), ARGIN(PMC *obj))
+mark_special(PARROT_INTERP, SHIM(Memory_Pools *mem_pools), ARGIN(PMC *obj))
 {
     ASSERT_ARGS(mark_special)
 


More information about the parrot-commits mailing list