Permalink
Browse files

[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)

git-svn-id: https://svn.parrot.org/parrot/branches/pcc_arg_unify_2_0@41537 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information...
1 parent 5fbe573 commit 50f38e513add35540515b0da58697f84f217b360 whiteknight committed Sep 27, 2009
Showing with 0 additions and 12 deletions.
  1. +0 −12 src/pmc/cpointer.pmc
View
@@ -86,18 +86,6 @@ pointer.
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);
- }
- }
}
}

0 comments on commit 50f38e5

Please sign in to comment.