develooper Front page | perl.cvs.parrot | Postings from January 2009

[svn:parrot] r35713 - trunk/src/pmc

From:
cotto
Date:
January 18, 2009 03:52
Subject:
[svn:parrot] r35713 - trunk/src/pmc
Message ID:
20090118115158.70991CB9AE@x12.develooper.com
Author: cotto
Date: Sun Jan 18 03:51:57 2009
New Revision: 35713

Modified:
   trunk/src/pmc/coroutine.pmc

Log:
[pmc] remove unused PMC_pmc_val instances from Coroutine


Modified: trunk/src/pmc/coroutine.pmc
==============================================================================
--- trunk/src/pmc/coroutine.pmc	(original)
+++ trunk/src/pmc/coroutine.pmc	Sun Jan 18 03:51:57 2009
@@ -72,7 +72,6 @@
 
     VTABLE void init() {
         PMC_struct_val(SELF) = new_coroutine(INTERP);
-        PMC_pmc_val(SELF)    = PMCNULL;
         PObj_custom_mark_destroy_SETALL(SELF);
     }
 
@@ -102,7 +101,6 @@
         PObj_custom_mark_destroy_SETALL(ret);
 
         PMC_struct_val(ret) = sub;
-        PMC_pmc_val(ret)    = PMCNULL;
 
         memcpy(sub, PMC_sub(SELF), sizeof (Parrot_coro));
 



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About