[svn:parrot] r47275 - branches/gc_massacre_no_constant/compilers/imcc
whiteknight at svn.parrot.org
whiteknight at svn.parrot.org
Wed Jun 2 01:21:15 UTC 2010
Author: whiteknight
Date: Wed Jun 2 01:21:15 2010
New Revision: 47275
URL: https://trac.parrot.org/parrot/changeset/47275
Log:
[gc_massacre_no_constant] the namespace_name attr in Sub.pmc is marked, so it doesn't need to be constant. Plus, I think GC is currently disabled during IMCC anyway, so no sense safeguarding it
Modified:
branches/gc_massacre_no_constant/compilers/imcc/pbc.c
Modified: branches/gc_massacre_no_constant/compilers/imcc/pbc.c
==============================================================================
--- branches/gc_massacre_no_constant/compilers/imcc/pbc.c Wed Jun 2 01:17:14 2010 (r47274)
+++ branches/gc_massacre_no_constant/compilers/imcc/pbc.c Wed Jun 2 01:21:15 2010 (r47275)
@@ -1425,7 +1425,7 @@
ns_pmc = ct->constants[ns_const]->u.key;
break;
case PFC_STRING:
- ns_pmc = Parrot_pmc_new_constant(interp, enum_class_String);
+ ns_pmc = Parrot_pmc_new(interp, enum_class_String);
VTABLE_set_string_native(interp, ns_pmc,
ct->constants[ns_const]->u.string);
break;
More information about the parrot-commits
mailing list