[svn:parrot] r44239 - branches/sys_mem_reduce/src/gc

mikehh at svn.parrot.org mikehh at svn.parrot.org
Sat Feb 20 13:35:34 UTC 2010


Author: mikehh
Date: Sat Feb 20 13:35:33 2010
New Revision: 44239
URL: https://trac.parrot.org/parrot/changeset/44239

Log:
fix ASSERT_ARGS

Modified:
   branches/sys_mem_reduce/src/gc/api.c

Modified: branches/sys_mem_reduce/src/gc/api.c
==============================================================================
--- branches/sys_mem_reduce/src/gc/api.c	Sat Feb 20 13:25:59 2010	(r44238)
+++ branches/sys_mem_reduce/src/gc/api.c	Sat Feb 20 13:35:33 2010	(r44239)
@@ -685,7 +685,7 @@
 void *
 Parrot_gc_reallocate_memory_chunk(PARROT_INTERP, ARGIN(void *data), size_t newsize)
 {
-    ASSERT_ARGS(Parrot_gc_allocate_memory_chunk)
+    ASSERT_ARGS(Parrot_gc_reallocate_memory_chunk)
     return interp->gc_sys->reallocate_memory_chunk(interp, data, newsize);
 }
 
@@ -694,7 +694,7 @@
 void
 Parrot_gc_free_memory_chunk(PARROT_INTERP, ARGIN(void *data))
 {
-    ASSERT_ARGS(Parrot_gc_allocate_memory_chunk)
+    ASSERT_ARGS(Parrot_gc_free_memory_chunk)
     interp->gc_sys->free_memory_chunk(interp, data);
 }
 
@@ -704,7 +704,7 @@
 void *
 Parrot_gc_allocate_memory_chunk_with_interior_pointers(PARROT_INTERP, size_t size)
 {
-    ASSERT_ARGS(Parrot_gc_allocate_memory_chunk)
+    ASSERT_ARGS(Parrot_gc_allocate_memory_chunk_with_interior_pointers)
     return interp->gc_sys->allocate_memory_chunk_with_interior_pointers(interp, size);
 }
 
@@ -714,7 +714,7 @@
 Parrot_gc_reallocate_memory_chunk_with_interior_pointers(PARROT_INTERP,
         ARGIN(void *data), size_t newsize, size_t oldsize)
 {
-    ASSERT_ARGS(Parrot_gc_allocate_memory_chunk)
+    ASSERT_ARGS(Parrot_gc_reallocate_memory_chunk_with_interior_pointers)
     return interp->gc_sys->reallocate_memory_chunk_with_interior_pointers(interp,
             data, newsize, oldsize);
 }


More information about the parrot-commits mailing list