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

mikehh at svn.parrot.org mikehh at svn.parrot.org
Thu Sep 16 23:39:23 UTC 2010


Author: mikehh
Date: Thu Sep 16 23:39:23 2010
New Revision: 49073
URL: https://trac.parrot.org/parrot/changeset/49073

Log:
fix missing assert_args - re-ran make headerizer

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

Modified: trunk/src/gc/alloc_resources.c
==============================================================================
--- trunk/src/gc/alloc_resources.c	Thu Sep 16 23:30:26 2010	(r49072)
+++ trunk/src/gc/alloc_resources.c	Thu Sep 16 23:39:23 2010	(r49073)
@@ -67,9 +67,6 @@
         FUNC_MODIFIES(*dest_interp);
 
 static void free_pool(ARGFREE(Fixed_Size_Pool *pool));
-static int is_block_almost_full(ARGIN(const Memory_Block *block))
-        __attribute__nonnull__(1);
-
 static void Parrot_gc_merge_buffer_pools(PARROT_INTERP,
     ARGMOD(Memory_Pools *mem_pools),
     ARGMOD(Fixed_Size_Pool *dest),
@@ -117,8 +114,6 @@
        PARROT_ASSERT_ARG(dest_interp) \
     , PARROT_ASSERT_ARG(pool))
 #define ASSERT_ARGS_free_pool __attribute__unused__ int _ASSERT_ARGS_CHECK = (0)
-#define ASSERT_ARGS_is_block_almost_full __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
-       PARROT_ASSERT_ARG(block))
 #define ASSERT_ARGS_Parrot_gc_merge_buffer_pools __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
        PARROT_ASSERT_ARG(interp) \
     , PARROT_ASSERT_ARG(mem_pools) \

Modified: trunk/src/gc/gc_private.h
==============================================================================
--- trunk/src/gc/gc_private.h	Thu Sep 16 23:30:26 2010	(r49072)
+++ trunk/src/gc/gc_private.h	Thu Sep 16 23:39:23 2010	(r49073)
@@ -661,17 +661,6 @@
 /* HEADERIZER BEGIN: src/gc/string_gc.c */
 /* Don't modify between HEADERIZER BEGIN / HEADERIZER END.  Your changes will be lost. */
 
-void Parrot_gc_str_alloc_new_block(
-     ARGMOD(Memory_Pools *mem_pools),
-    size_t size,
-    ARGMOD(Variable_Size_Pool *pool),
-    ARGIN(const char *why))
-        __attribute__nonnull__(1)
-        __attribute__nonnull__(3)
-        __attribute__nonnull__(4)
-        FUNC_MODIFIES(*mem_pools)
-        FUNC_MODIFIES(*pool);
-
 void Parrot_gc_str_allocate_buffer_storage(PARROT_INTERP,
     ARGIN(String_GC *gc),
     ARGOUT(Buffer *buffer),
@@ -728,10 +717,6 @@
         __attribute__nonnull__(3)
         FUNC_MODIFIES(*str);
 
-#define ASSERT_ARGS_Parrot_gc_str_alloc_new_block __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
-       PARROT_ASSERT_ARG(mem_pools) \
-    , PARROT_ASSERT_ARG(pool) \
-    , PARROT_ASSERT_ARG(why))
 #define ASSERT_ARGS_Parrot_gc_str_allocate_buffer_storage \
      __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
        PARROT_ASSERT_ARG(interp) \


More information about the parrot-commits mailing list