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

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

From:
cotto
Date:
January 18, 2009 03:39
Subject:
[svn:parrot] r35712 - trunk/src/pmc
Message ID:
20090118113913.D32E4CB9AE@x12.develooper.com
Author: cotto
Date: Sun Jan 18 03:39:12 2009
New Revision: 35712

Modified:
   trunk/src/pmc/continuation.pmc

Log:
[pmc] remove unused PMC_pmc_val instances


Modified: trunk/src/pmc/continuation.pmc
==============================================================================
--- trunk/src/pmc/continuation.pmc	(original)
+++ trunk/src/pmc/continuation.pmc	Sun Jan 18 03:39:12 2009
@@ -59,7 +59,6 @@
 
     VTABLE void init() {
         PMC_struct_val(SELF) = new_continuation(INTERP, NULL);
-        PMC_pmc_val(SELF)    = NULL;
         PObj_custom_mark_destroy_SETALL(SELF);
         /* PANIC("don't do that"); */
         /*
@@ -136,7 +135,6 @@
         PObj_custom_mark_destroy_SETALL(ret);
         cc->runloop_id       = cc_self->runloop_id;
         PMC_struct_val(ret)  = cc;
-        PMC_pmc_val(ret)     = PMC_pmc_val(SELF);
 
         return ret;
     }
@@ -155,7 +153,6 @@
         Parrot_cont * const cc_src  = PMC_cont(src);
 
         STRUCT_COPY(cc_self, cc_src);
-        PMC_pmc_val(SELF) = PMC_pmc_val(src);
     }
 /*
 



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