[svn:parrot] r49197 - branches/gc_massacre/src/gc
mikehh at svn.parrot.org
mikehh at svn.parrot.org
Tue Sep 21 10:57:44 UTC 2010
Author: mikehh
Date: Tue Sep 21 10:57:44 2010
New Revision: 49197
URL: https://trac.parrot.org/parrot/changeset/49197
Log:
[gc_massacre] fix codetest failures - replace ms with ms2 in ASSERT_ARGS and documentation
Modified:
branches/gc_massacre/src/gc/gc_ms2.c
Modified: branches/gc_massacre/src/gc/gc_ms2.c
==============================================================================
--- branches/gc_massacre/src/gc/gc_ms2.c Tue Sep 21 10:01:37 2010 (r49196)
+++ branches/gc_massacre/src/gc/gc_ms2.c Tue Sep 21 10:57:44 2010 (r49197)
@@ -863,7 +863,7 @@
static void
gc_ms2_allocate_string_storage(PARROT_INTERP, ARGIN(STRING *str), size_t size)
{
- ASSERT_ARGS(gc_ms_allocate_string_storage)
+ ASSERT_ARGS(gc_ms2_allocate_string_storage)
MarkSweep_GC *self = (MarkSweep_GC *)interp->gc_sys->gc_private;
Parrot_gc_str_allocate_string_storage(interp, &self->string_gc, str, size);
interp->gc_sys->stats.mem_used_last_collect += size;
@@ -872,7 +872,7 @@
static void
gc_ms2_reallocate_string_storage(PARROT_INTERP, ARGIN(STRING *str), size_t size)
{
- ASSERT_ARGS(gc_ms_reallocate_string_storage)
+ ASSERT_ARGS(gc_ms2_reallocate_string_storage)
MarkSweep_GC *self = (MarkSweep_GC *)interp->gc_sys->gc_private;
Parrot_gc_str_reallocate_string_storage(interp, &self->string_gc, str, size);
interp->gc_sys->stats.mem_used_last_collect += size;
@@ -881,7 +881,7 @@
static void
gc_ms2_allocate_buffer_storage(PARROT_INTERP, ARGIN(Buffer *str), size_t size)
{
- ASSERT_ARGS(gc_ms_allocate_buffer_storage)
+ ASSERT_ARGS(gc_ms2_allocate_buffer_storage)
MarkSweep_GC *self = (MarkSweep_GC *)interp->gc_sys->gc_private;
Parrot_gc_str_allocate_buffer_storage(interp, &self->string_gc, str, size);
interp->gc_sys->stats.mem_used_last_collect += size;
@@ -890,7 +890,7 @@
static void
gc_ms2_reallocate_buffer_storage(PARROT_INTERP, ARGIN(Buffer *str), size_t size)
{
- ASSERT_ARGS(gc_ms_reallocate_buffer_storage)
+ ASSERT_ARGS(gc_ms2_reallocate_buffer_storage)
MarkSweep_GC *self = (MarkSweep_GC *)interp->gc_sys->gc_private;
Parrot_gc_str_reallocate_buffer_storage(interp, &self->string_gc, str, size);
interp->gc_sys->stats.mem_used_last_collect += size;
@@ -941,7 +941,8 @@
/*
-=item C<static void gc_ms_iterate_live_strings(PARROT_INTERP,
+
+=item C<static void gc_ms2_iterate_live_strings(PARROT_INTERP,
string_iterator_callback callback, void *data)>
Iterate over live string invoking callback for each of them. Used during
More information about the parrot-commits
mailing list