[svn:parrot] r41537 - branches/pcc_arg_unify_2_0/src/pmc
whiteknight at svn.parrot.org
whiteknight at svn.parrot.org
Sun Sep 27 19:24:18 UTC 2009
Author: whiteknight
Date: Sun Sep 27 19:24:10 2009
New Revision: 41537
URL: https://trac.parrot.org/parrot/changeset/41537
Log:
[pmc] cpointer should not attempt to mark it's P/S members. I thought this was fixed a long time ago. Fixes at least one test failure (t/pmc/null.t)
Modified:
branches/pcc_arg_unify_2_0/src/pmc/cpointer.pmc
Modified: branches/pcc_arg_unify_2_0/src/pmc/cpointer.pmc
==============================================================================
--- branches/pcc_arg_unify_2_0/src/pmc/cpointer.pmc Sun Sep 27 19:15:54 2009 (r41536)
+++ branches/pcc_arg_unify_2_0/src/pmc/cpointer.pmc Sun Sep 27 19:24:10 2009 (r41537)
@@ -86,18 +86,6 @@
GET_ATTR_pointer(INTERP, SELF, pointer);
Parrot_gc_mark_STRING_alive(interp, sig);
- if (pointer) {
- if (Parrot_str_equal(interp, sig, CONST_STRING(interp, "P"))) {
- PMC ** const pmc_pointer = (PMC **) pointer;
- PARROT_ASSERT(*pmc_pointer);
- Parrot_gc_mark_PMC_alive(interp, *pmc_pointer);
- }
- else if (Parrot_str_equal(interp, sig, CONST_STRING(interp, "S"))) {
- STRING ** const str_pointer = (STRING **) pointer;
- PARROT_ASSERT(*str_pointer);
- Parrot_gc_mark_STRING_alive(interp, *str_pointer);
- }
- }
}
}
More information about the parrot-commits
mailing list