[svn:parrot] r40565 - branches/pmc_sans_unionval/src/gc

whiteknight at svn.parrot.org whiteknight at svn.parrot.org
Sat Aug 15 14:08:51 UTC 2009


Author: whiteknight
Date: Sat Aug 15 14:08:50 2009
New Revision: 40565
URL: https://trac.parrot.org/parrot/changeset/40565

Log:
[pmc_sans_unionval] fix some argument asserts

Modified:
   branches/pmc_sans_unionval/src/gc/alloc_resources.c

Modified: branches/pmc_sans_unionval/src/gc/alloc_resources.c
==============================================================================
--- branches/pmc_sans_unionval/src/gc/alloc_resources.c	Sat Aug 15 14:03:53 2009	(r40564)
+++ branches/pmc_sans_unionval/src/gc/alloc_resources.c	Sat Aug 15 14:08:50 2009	(r40565)
@@ -739,7 +739,7 @@
 static void
 check_memory_system(PARROT_INTERP)
 {
-    ASSERT_ARGS(check_memory_system
+    ASSERT_ARGS(check_memory_system)
     size_t i;
     Arenas * const arena_base = interp->arena_base;
 
@@ -880,8 +880,9 @@
 */
 
 void
-check_buffer_ptr(Buffer * pobj,Memory_Pool * pool)
+check_buffer_ptr(ARGMOD(Buffer * pobj), ARGMOD(Memory_Pool * pool))
 {
+    ASSERT_ARGS(check_buffer_ptr)
     Memory_Block * cur_block = pool->top_block;
     char * bufstart;
 


More information about the parrot-commits mailing list