[svn:parrot] r44919 - in trunk/src: . ops

plobsing at svn.parrot.org plobsing at svn.parrot.org
Sun Mar 14 04:49:50 UTC 2010


Author: plobsing
Date: Sun Mar 14 04:49:48 2010
New Revision: 44919
URL: https://trac.parrot.org/parrot/changeset/44919

Log:
eliminate useless use of private1 flag on NCI PMC

Modified:
   trunk/src/extend.c
   trunk/src/ops/core.ops

Modified: trunk/src/extend.c
==============================================================================
--- trunk/src/extend.c	Sun Mar 14 04:10:45 2010	(r44918)
+++ trunk/src/extend.c	Sun Mar 14 04:49:48 2010	(r44919)
@@ -1361,7 +1361,6 @@
         (char *) NULL, 0);
     Parrot_PMC sub = Parrot_pmc_new(interp, enum_class_NCI);
     VTABLE_set_pointer_keyed_str(interp, sub, sig, F2DPTR(func));
-    PObj_get_FLAGS(sub) |= PObj_private1_FLAG;
     return sub;
 }
 

Modified: trunk/src/ops/core.ops
==============================================================================
--- trunk/src/ops/core.ops	Sun Mar 14 04:10:45 2010	(r44918)
+++ trunk/src/ops/core.ops	Sun Mar 14 04:49:48 2010	(r44919)
@@ -1277,7 +1277,6 @@
     else {
         $1 = Parrot_pmc_new(interp, enum_class_NCI);
         VTABLE_set_pointer_keyed_str(interp, $1, $4, F2DPTR(p));
-        PObj_get_FLAGS($1) |= PObj_private1_FLAG;
     }
     Parrot_str_free_cstring(name);
 }


More information about the parrot-commits mailing list