[svn:parrot] r47362 - branches/gc_massacre/src/gc
bacek at svn.parrot.org
bacek at svn.parrot.org
Sat Jun 5 00:11:47 UTC 2010
Author: bacek
Date: Sat Jun 5 00:11:46 2010
New Revision: 47362
URL: https://trac.parrot.org/parrot/changeset/47362
Log:
Switch to use GC_Sys.is_string_ptr in tracing system areas.
Modified:
branches/gc_massacre/src/gc/system.c
Modified: branches/gc_massacre/src/gc/system.c
==============================================================================
--- branches/gc_massacre/src/gc/system.c Sat Jun 5 00:11:35 2010 (r47361)
+++ branches/gc_massacre/src/gc/system.c Sat Jun 5 00:11:46 2010 (r47362)
@@ -470,10 +470,10 @@
Parrot_gc_mark_PMC_alive(interp, (PMC *)ptr);
}
else if ((buffer_min <= ptr) && (ptr < buffer_max)
- && is_buffer_ptr(mem_pools, (void *)ptr)) {
+ && interp->gc_sys->is_string_ptr(interp, (void *)ptr)) {
/* ...and since Parrot_gc_mark_PObj_alive doesn't care about bufstart, it
* doesn't really matter if it sets a flag */
- Parrot_gc_mark_PObj_alive(interp, (PObj *)ptr);
+ Parrot_gc_mark_STRING_alive(interp, (STRING *)ptr);
}
}
}
More information about the parrot-commits
mailing list