[svn:parrot] r44608 - trunk/src

plobsing at svn.parrot.org plobsing at svn.parrot.org
Wed Mar 3 21:37:58 UTC 2010


Author: plobsing
Date: Wed Mar  3 21:37:58 2010
New Revision: 44608
URL: https://trac.parrot.org/parrot/changeset/44608

Log:
use Parrot_thaw_constants() in stead of Parrot_thaw(). satisfies todo comment and TT 1297.

Modified:
   trunk/src/packfile.c

Modified: trunk/src/packfile.c
==============================================================================
--- trunk/src/packfile.c	Wed Mar  3 21:02:07 2010	(r44607)
+++ trunk/src/packfile.c	Wed Mar  3 21:37:58 2010	(r44608)
@@ -4018,13 +4018,7 @@
     interp->code                      = pf->cur_cs;
     image                             = PF_fetch_string(interp, pf, &cursor);
 
-    /*
-     * TODO use thaw_constants
-     * current issue: a constant Sub with attached properties
-     *                doesn't GC mark the properties
-     * for a constant PMC *all* contents have to be in the constant pools
-     */
-    pmc         = Parrot_thaw(interp, image);
+    pmc         = Parrot_thaw_constants(interp, image);
 
     /* place item in const_table */
     self->type  = PFC_PMC;


More information about the parrot-commits mailing list